From: Xiao Guangrong Date: Fri, 16 Apr 2010 13:27:54 +0000 (+0800) Subject: KVM: MMU: reduce 'struct kvm_mmu_page' size X-Git-Tag: accepted/tizen/common/20141203.182822~11678^2~96 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0571d366e0be571be14581cb5e28d9c3f6e0d0b1;p=platform%2Fkernel%2Flinux-arm64.git KVM: MMU: reduce 'struct kvm_mmu_page' size Define 'multimapped' as 'bool'. Signed-off-by: Xiao Guangrong Signed-off-by: Marcelo Tosatti --- diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 707d272..3c31c5a 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -202,9 +202,9 @@ struct kvm_mmu_page { * in this shadow page. */ DECLARE_BITMAP(slot_bitmap, KVM_MEMORY_SLOTS + KVM_PRIVATE_MEM_SLOTS); - int multimapped; /* More than one parent_pte? */ - int root_count; /* Currently serving as active root */ + bool multimapped; /* More than one parent_pte? */ bool unsync; + int root_count; /* Currently serving as active root */ unsigned int unsync_children; union { u64 *parent_pte; /* !multimapped */