On Tue, Jul 30, 2024, at 13:44, Zhiguo Jiang wrote: > + > + > +extern bool __tlb_remove_swap_entries(struct mmu_gather *tlb, > + swp_entry_t entry, int nr); > +#else > +bool __tlb_remove_swap_entries(struct mmu_gather *tlb, > + swp_entry_t entry, int nr) > +{ > + return false; > +} > +#endif To address the reported build regression, that function must be annotated as 'static inline'. Arnd