KVM: MMU: Move sync_page() first pte address calculation out of loop
authorGui Jianfeng <guijianfeng@cn.fujitsu.com>
Fri, 16 Apr 2010 09:16:40 +0000 (17:16 +0800)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:18:06 +0000 (12:18 +0300)
commit51fb60d81b483ae75614d401e7d4271884894113
tree2f5ef2c53ee0f3342bd42c3c72193d8cd3f824c3
parent66cbff59a16017234ea6c80ecddfc17b27a83504
KVM: MMU: Move sync_page() first pte address calculation out of loop

Move first pte address calculation out of loop to save some cycles.

Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/paging_tmpl.h