summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kvm_host.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-09-12 15:12:09 +0300
committerAvi Kivity <avi@redhat.com>2012-09-20 13:00:08 +0300
commit13d22b6aebb000aeaf137862c6c0e0c4d138d798 (patch)
treee643caac077496bdaaeaf7c12101b43f62b34393 /arch/x86/include/asm/kvm_host.h
parent97d64b788114be1c4dc4bfe7a8ba2bf9643fe6af (diff)
KVM: MMU: Simplify walk_addr_generic() loop
The page table walk is coded as an infinite loop, with a special case on the last pte. Code it as an ordinary loop with a termination condition on the last pte (large page or walk length exhausted), and put the last pte handling code after the loop where it belongs. Reviewed-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_host.h')
0 files changed, 0 insertions, 0 deletions