Computer Engineering & Science ›› 2024, Vol. 46 ›› Issue (01): 21-27.
• High Performance Computing • Previous Articles Next Articles
WANG Rui-bo,WU Zhen-wei,ZHANG Wen-zhe,WU Hui-jun,ZHANG-YU Shu-qing,LU Kai
Received:
Revised:
Accepted:
Online:
Published:
Abstract: Based on memory protection key hardware extensions, a lightweight and fine-grained page protection mechanism is proposed. This mechanism overcomes the technical limitations of traditional page protection methods that only support page-grained memory access monitoring, and achieves fine-grained page protection that can intercept each memory access operation. By fully utilizing the user-level thread-local page access permission control provided by memory protection keys, the performance overhead is reduced by more than 30% compared to traditional page protection. Through the integration of fine-grained page protection and compiler instrumentation, the limitations of traditional compiler instrumentation methods that cannot cover non-recompilable portions of programs are addressed.
Key words: memory access monitoring, memory protection keys, page protection, compiler instrumentation
WANG Rui-bo, WU Zhen-wei, ZHANG Wen-zhe, WU Hui-jun, ZHANG-YU Shu-qing, LU Kai. Fine-grained memory access monitoring based on memory protection keys[J]. Computer Engineering & Science, 2024, 46(01): 21-27.
0 / / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://joces.nudt.edu.cn/EN/
http://joces.nudt.edu.cn/EN/Y2024/V46/I01/21