• Avi Kivity's avatar
    KVM: MMU: Simplify page table walker · 42bf3f0a
    Avi Kivity authored
    Simplify the walker level loop not to carry so much information from one
    loop to the next.  In addition to being complex, this made kmap_atomic()
    critical sections difficult to manage.
    
    As a result of this change, kmap_atomic() sections are limited to actually
    touching the guest pte, which allows the other functions called from the
    walker to do sleepy operations.  This will happen when we enable swapping.
    Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
    42bf3f0a
paging_tmpl.h 13.6 KB