kvm: mmu: ITLB_MULTIHIT mitigation
[linux-2.6-block.git] / arch / x86 / include / asm / kvm_host.h
index 24d6598dea29b2d048d41ae5c545c1366312c615..a37b03483b66cfef8c40f0044e0c7d426a96862f 100644 (file)
@@ -315,6 +315,7 @@ struct kvm_mmu_page {
        bool unsync;
        u8 mmu_valid_gen;
        bool mmio_cached;
+       bool lpage_disallowed; /* Can't be replaced by an equiv large page */
 
        /*
         * The following two entries are used to key the shadow page in the
@@ -946,6 +947,7 @@ struct kvm_vm_stat {
        ulong mmu_unsync;
        ulong remote_tlb_flush;
        ulong lpages;
+       ulong nx_lpage_splits;
        ulong max_mmu_page_hash_collisions;
 };