KVM: MMU: reduce 'struct kvm_mmu_page' size
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Fri, 16 Apr 2010 13:27:54 +0000 (21:27 +0800)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:17:52 +0000 (12:17 +0300)
Define 'multimapped' as 'bool'.

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/kvm_host.h

index 707d272..3c31c5a 100644 (file)
@@ -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 */