This is incremented by a maximum of 4 for every vcpu, so we are far from overflow. 16 bits improve struct packing. Signed-off-by: Avi Kivity <avi@xxxxxxxxxx> --- arch/x86/include/asm/kvm_host.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index cdaaedc..f38007d 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -192,7 +192,7 @@ struct kvm_mmu_page { */ gfn_t gfn; union kvm_mmu_page_role role; - int root_count; /* Currently serving as active root */ + short root_count; /* Currently serving as active root */ bool multimapped; /* More than one parent_pte? */ bool unsync; union { -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html