AnsweredAssumed Answered

mark pages as _guarded

Question asked by Vasanth Sri on Nov 17, 2014
Latest reply on Nov 18, 2014 by Vasanth Sri

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.

Outcomes