]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - arch/x86/kvm/mmu/mmu_internal.h
KVM: x86/mmu: Protect TDP MMU page table memory with RCU
[mirror_ubuntu-jammy-kernel.git] / arch / x86 / kvm / mmu / mmu_internal.h
index 5ec15e4160b14be9d86a8b55d32fe251cf7dfb11..98db78a26957c003ac2cfec623dc97159eea817d 100644 (file)
@@ -57,6 +57,9 @@ struct kvm_mmu_page {
        atomic_t write_flooding_count;
 
        bool tdp_mmu_page;
+
+       /* Used for freeing the page asyncronously if it is a TDP MMU page. */
+       struct rcu_head rcu_head;
 };
 
 extern struct kmem_cache *mmu_page_header_cache;