• Z
    [PATCH] paravirt: update pte hook · 789e6ac0
    Zachary Amsden 提交于
    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: NZachary 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: NAndrew Morton <akpm@osdl.org>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    789e6ac0
pgtable.h 16.7 KB