Re: [PATCH 2/2] mm: tlb: add tlb swap entries batch async release
From: Arnd Bergmann
Date: Wed Jul 31 2024 - 08:08:58 EST
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