mark pages as _guarded

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

mark pages as _guarded

跳至解决方案
651 次查看
vasanthsri
Contributor III

Dear All,

We have an user space program (real time application) which mmap's ~1.5 GB data space and 1 GB of program space and like to mark few pages (memory segments) as "Guarded" to avoid speculative fetching.

Is there any wrapper in Linux which helps to mark the pages -or- memory as guarded (_PAGE_GUARDED) i.e. G-PAGE ?

Processor : P4040

Linux        : 2.6.34.12

Thanks in Advance.

标签 (1)
标记 (4)
0 项奖励
1 解答
529 次查看
scottwood
NXP Employee
NXP Employee

There is no existing mechanism to do this.

在原帖中查看解决方案

0 项奖励
2 回复数
530 次查看
scottwood
NXP Employee
NXP Employee

There is no existing mechanism to do this.

0 项奖励
529 次查看
vasanthsri
Contributor III

Thanks Scott for the confirmation on this regard. I thought, there is some -hidden- protection mechanism implemented like PROT_GUARD which will help to mark these pages as "guarded" from application (userland) perspective.

0 项奖励