]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] paravirt: update pte hook
authorZachary Amsden <zach@vmware.com>
Sun, 1 Oct 2006 06:29:38 +0000 (23:29 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 1 Oct 2006 07:39:34 +0000 (00:39 -0700)
commit61cf5a3d179ff7c650b60d2db540fab0613469fa
tree65a1c946f72bdbc8226c2fab5882cc56b9da031e
parent2e0d88675a26100019477403394b8f3e534f32ef
[PATCH] paravirt: update pte hook

Add a pte_update_hook which notifies about pte changes that have been made
without using the set_pte / clear_pte interfaces.  This allows shadow mode
hypervisors which do not trap on page table access to maintain synchronized
shadows.

It also turns out, there was one pte update in PAE mode that wasn't using any
accessor interface at all for setting NX protection.  Considering it is PAE
specific, and the accessor is i386 specific, I didn't want to add a generic
encapsulation of this behavior yet.

Signed-off-by: Zachary Amsden <zach@vmware.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/mm/init.c
include/asm-i386/pgtable.h