From: Xiao Guangrong Date: Mon, 11 Jul 2011 19:32:54 +0000 (+0800) Subject: KVM: MMU: reorganize struct kvm_shadow_walk_iterator X-Git-Tag: firefly_0821_release~3680^2~4956^2~3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dd3bfd59dbc69fd970394ab354cfca5f959d5755;p=firefly-linux-kernel-4.4.55.git KVM: MMU: reorganize struct kvm_shadow_walk_iterator Reorganize it for good using the cache Signed-off-by: Xiao Guangrong Signed-off-by: Avi Kivity --- diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 374530a478a4..4b1aa6772147 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c @@ -172,8 +172,8 @@ struct pte_list_desc { struct kvm_shadow_walk_iterator { u64 addr; hpa_t shadow_addr; - int level; u64 *sptep; + int level; unsigned index; };