• A
    KVM: MMU: Introduce drop_spte() · be38d276
    Avi Kivity 提交于
    When we call rmap_remove(), we (almost) always immediately follow it by
    an __set_spte() to a nonpresent pte.  Since we need to perform the two
    operations atomically, to avoid losing the dirty and accessed bits, introduce
    a helper drop_spte() and convert all call sites.
    
    The operation is still nonatomic at this point.
    Signed-off-by: NAvi Kivity <avi@redhat.com>
    be38d276
paging_tmpl.h 17.3 KB