diff options
author | Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> | 2013-06-19 13:09:24 +0400 |
---|---|---|
committer | Gleb Natapov <gleb@redhat.com> | 2013-06-27 15:20:47 +0400 |
commit | f6f8adeef542a18b1cb26a0b772c9781a10bb477 (patch) | |
tree | 60399cfb430de99e170e68bb2a1c7be596e680c0 /arch/x86/include | |
parent | 2d49c47f350b939b395cd2d1abaa8c3bb6c54326 (diff) | |
download | linux-f6f8adeef542a18b1cb26a0b772c9781a10bb477.tar.xz |
KVM: MMU: document fast invalidate all pages
Document it to Documentation/virtual/kvm/mmu.txt
Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 6b636fd8582f..280e3271b027 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -222,7 +222,10 @@ struct kvm_mmu_page { int root_count; /* Currently serving as active root */ unsigned int unsync_children; unsigned long parent_ptes; /* Reverse mapping for parent_pte */ + + /* The page is obsolete if mmu_valid_gen != kvm->arch.mmu_valid_gen. */ unsigned long mmu_valid_gen; + DECLARE_BITMAP(unsync_child_bitmap, 512); #ifdef CONFIG_X86_32 |