summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>2010-04-16 21:27:54 +0800
committerAvi Kivity <avi@redhat.com>2010-05-17 12:17:52 +0300
commit0571d366e0be571be14581cb5e28d9c3f6e0d0b1 (patch)
tree560a0ff82b54e3718d5606bc5aae9463080d0eba /arch/x86
parent1b8c7934a4063653095fb9fa88f9169f5b52f52b (diff)
downloadop-kernel-dev-0571d366e0be571be14581cb5e28d9c3f6e0d0b1.zip
op-kernel-dev-0571d366e0be571be14581cb5e28d9c3f6e0d0b1.tar.gz
KVM: MMU: reduce 'struct kvm_mmu_page' size
Define 'multimapped' as 'bool'. Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/include/asm/kvm_host.h4
1 files changed, 2 insertions, 2 deletions
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 */
OpenPOWER on IntegriCloud