• Zachary Amsden's avatar
    [PATCH] paravirt: update pte hook · 789e6ac0
    Zachary Amsden authored
    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: default avatarZachary 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: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    789e6ac0
init.c 19.5 KB