]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: introduce is_last_spte helper
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 10 Jun 2009 15:27:03 +0000 (12:27 -0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:32:53 +0000 (08:32 +0300)
commit4335d4b0b260ef9f546cc030ffd5523e7356783b
tree07c0c2547f681330b600f82e860d3e74192532d5
parentf9deeff94cca9ec6284c3edc42c92c906b7ae65b
KVM: MMU: introduce is_last_spte helper

Hiding some of the last largepage / level interaction (which is useful
for gbpages and for zero based levels).

Also merge the PT_PAGE_TABLE_LEVEL clearing loop in unlink_children.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c