[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dbcd8d48-3095-4ed1-88fb-1de463e8f593@vivo.com>
Date: Wed, 31 Jul 2024 21:47:45 +0800
From: zhiguojiang <justinjiang@...o.com>
To: Arnd Bergmann <arnd@...db.de>, Andrew Morton <akpm@...ux-foundation.org>,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Will Deacon <will@...nel.org>, "Aneesh Kumar K.V" <aneesh.kumar@...nel.org>,
Nicholas Piggin <npiggin@...il.com>, Peter Zijlstra <peterz@...radead.org>,
Johannes Weiner <hannes@...xchg.org>, Michal Hocko <mhocko@...nel.org>,
Roman Gushchin <roman.gushchin@...ux.dev>,
Shakeel Butt <shakeel.butt@...ux.dev>, Muchun Song <muchun.song@...ux.dev>,
Linux-Arch <linux-arch@...r.kernel.org>, cgroups@...r.kernel.org,
Barry Song <21cnbao@...il.com>
Cc: opensource.kernel@...o.com
Subject: Re: [PATCH 2/2] mm: tlb: add tlb swap entries batch async release
在 2024/7/31 20:08, Arnd Bergmann 写道:
> 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
Hi Arnd,
I have added 'static inline' for __tlb_remove_swap_entries() in [PATCH
v2 3/3].
Thanks for your nice guidance.
https://lore.kernel.org/linux-mm/20240731133318.527-1-justinjiang@vivo.com/T/#t
Thanks
Zhiguo
Powered by blists - more mailing lists