commit | 7a71cef780404e8c90d23b1131142e158d94354b | [log] [tgz] |
---|---|---|
author | bibo,mao <bibo.mao@intel.com> | Sat Oct 21 18:37:02 2006 +0200 |
committer | Andi Kleen <andi@basil.nowhere.org> | Sat Oct 21 18:37:02 2006 +0200 |
tree | 7e961918153726f031fabd40f2bf695c24cd8c90 | |
parent | 690a973f48b6ba2954465992c08e65059c8374fe [diff] |
[PATCH] x86-64: x86_64 add NX mask for PTE entry If function change_page_attr_addr calls revert_page to revert to original pte value, mk_pte_phys does not mask NX bit. If NX bit is set on no NX hardware supported x86_64 machine, there is will be RSVD type page fault and system will crash. This patch adds NX mask bit for PTE entry. Signed-off-by: bibo,mao <bibo.mao@intel.com> Signed-off-by: Andi Kleen <ak@suse.de>