summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>2013-06-19 17:09:24 +0800
committerGleb Natapov <gleb@redhat.com>2013-06-27 14:20:47 +0300
commitf6f8adeef542a18b1cb26a0b772c9781a10bb477 (patch)
tree60399cfb430de99e170e68bb2a1c7be596e680c0 /arch/x86/include
parent2d49c47f350b939b395cd2d1abaa8c3bb6c54326 (diff)
downloadop-kernel-dev-f6f8adeef542a18b1cb26a0b772c9781a10bb477.zip
op-kernel-dev-f6f8adeef542a18b1cb26a0b772c9781a10bb477.tar.gz
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.h3
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 6b636fd..280e327 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
OpenPOWER on IntegriCloud