]> git.openfabrics.org - ~emulex/infiniband.git/commit
KVM: MMU: Simplify page table walker
authorAvi Kivity <avi@qumranet.com>
Wed, 17 Oct 2007 10:18:47 +0000 (12:18 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:53 +0000 (17:52 +0200)
commit42bf3f0a1f5a25be26e6bb53162cdee82410310d
treef134c24823081e6461f02f396d664e2f43e36486
parentd77a25074a8f845401f0eb786ebb8996e45d9e22
KVM: MMU: Simplify page table walker

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: Avi Kivity <avi@qumranet.com>
drivers/kvm/paging_tmpl.h