mark pages as _guarded

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

mark pages as _guarded

ソリューションへジャンプ
613件の閲覧回数
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)
0 件の賞賛
1 解決策
491件の閲覧回数
scottwood
NXP Employee
NXP Employee

There is no existing mechanism to do this.

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
492件の閲覧回数
scottwood
NXP Employee
NXP Employee

There is no existing mechanism to do this.

0 件の賞賛
491件の閲覧回数
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 件の賞賛