> #define flush_tlb_range(vma, start, end) \ > remote_sfence_vma(mm_cpumask((vma)->vm_mm), start, (end) - (start)) > -#define flush_tlb_mm(mm) \ > + > +static inline void flush_tlb_page(struct vm_area_struct *vma, > + unsigned long addr) { > + flush_tlb_range(vma, addr, addr + PAGE_SIZE); > +}
Please put the opening brace on a line of its own. Otherwise looks fine: Reviewed-by: Christoph Hellwig <h...@lst.de>