]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blobdiff - arch/x86/include/asm/tlbflush.h
x86/mm: Rework lazy TLB mode and TLB freshness tracking
[mirror_ubuntu-focal-kernel.git] / arch / x86 / include / asm / tlbflush.h
index d7df54cc7e4ddc6070c3af3215335c1cc5dabe2a..06e997a36d49b2cb167e790add91d78caf3a0a41 100644 (file)
@@ -95,7 +95,6 @@ struct tlb_state {
         * mode even if we've already switched back to swapper_pg_dir.
         */
        struct mm_struct *loaded_mm;
-       int state;
 
        /*
         * Access to this CR4 shadow and to H/W CR4 is protected by
@@ -310,9 +309,6 @@ static inline void flush_tlb_page(struct vm_area_struct *vma, unsigned long a)
 void native_flush_tlb_others(const struct cpumask *cpumask,
                             const struct flush_tlb_info *info);
 
-#define TLBSTATE_OK    1
-#define TLBSTATE_LAZY  2
-
 static inline void arch_tlbbatch_add_mm(struct arch_tlbflush_unmap_batch *batch,
                                        struct mm_struct *mm)
 {