KVM: MMU: Optimize prefetch_page()
authorAvi Kivity <avi@qumranet.com>
Thu, 29 May 2008 11:20:16 +0000 (14:20 +0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 20 Jul 2008 09:42:28 +0000 (12:42 +0300)
commiteab9f71feb1851b5b700ca12ae614b6a0a441021
tree9e6f7c60206621ab0f876110e2d57f0f7c8759fb
parent38d5bc6d50a4368be08b39b02efb9cbbe1dd60d0
KVM: MMU: Optimize prefetch_page()

Instead of reading each pte individually, read 256 bytes worth of ptes and
batch process them.

Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/paging_tmpl.h