]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - arch/x86/include/asm/tlb.h
4 #define tlb_start_vma(tlb, vma) do { } while (0)
5 #define tlb_end_vma(tlb, vma) do { } while (0)
6 #define __tlb_remove_tlb_entry(tlb, ptep, address) do { } while (0)
8 #define tlb_flush(tlb) \
10 if (!tlb->fullmm && !tlb->need_flush_all) \
11 flush_tlb_mm_range(tlb->mm, tlb->start, tlb->end, 0UL); \
13 flush_tlb_mm_range(tlb->mm, 0UL, TLB_FLUSH_ALL, 0UL); \
16 #include <asm-generic/tlb.h>
19 * While x86 architecture in general requires an IPI to perform TLB
20 * shootdown, enablement code for several hypervisors overrides
21 * .flush_tlb_others hook in pv_mmu_ops and implements it by issuing
22 * a hypercall. To keep software pagetable walkers safe in this case we
23 * switch to RCU based table free (HAVE_RCU_TABLE_FREE). See the comment
24 * below 'ifdef CONFIG_HAVE_RCU_TABLE_FREE' in include/asm-generic/tlb.h
27 static inline void __tlb_remove_table(void *table
)
29 free_page_and_swap_cache(table
);
32 #endif /* _ASM_X86_TLB_H */