From: zhiguojiang <justinjiang@vivo.com>
To: Arnd Bergmann <arnd@arndb.de>,
Andrew Morton <akpm@linux-foundation.org>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org,
Will Deacon <will@kernel.org>,
"Aneesh Kumar K.V" <aneesh.kumar@kernel.org>,
Nicholas Piggin <npiggin@gmail.com>,
Peter Zijlstra <peterz@infradead.org>,
Johannes Weiner <hannes@cmpxchg.org>,
Michal Hocko <mhocko@kernel.org>,
Roman Gushchin <roman.gushchin@linux.dev>,
Shakeel Butt <shakeel.butt@linux.dev>,
Muchun Song <muchun.song@linux.dev>,
Linux-Arch <linux-arch@vger.kernel.org>,
cgroups@vger.kernel.org, Barry Song <21cnbao@gmail.com>
Cc: opensource.kernel@vivo.com
Subject: Re: [PATCH 2/2] mm: tlb: add tlb swap entries batch async release
Date: Wed, 31 Jul 2024 21:47:45 +0800 [thread overview]
Message-ID: <dbcd8d48-3095-4ed1-88fb-1de463e8f593@vivo.com> (raw)
In-Reply-To: <b8fad35b-ba72-44ef-b89b-5333dd457ca7@app.fastmail.com>
在 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
next prev parent reply other threads:[~2024-07-31 13:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-30 11:44 [PATCH 0/2] mm: " Zhiguo Jiang
2024-07-30 11:44 ` [PATCH 1/2] mm: move task_is_dying to h headfile Zhiguo Jiang
2024-07-30 11:44 ` [PATCH 2/2] mm: tlb: add tlb swap entries batch async release Zhiguo Jiang
2024-07-31 9:55 ` kernel test robot
2024-07-31 13:42 ` zhiguojiang
2024-07-31 11:49 ` kernel test robot
2024-07-31 12:08 ` Arnd Bergmann
2024-07-31 13:47 ` zhiguojiang [this message]
2024-07-31 18:19 ` kernel test robot
2024-08-01 6:54 ` zhiguojiang
2024-07-31 2:18 ` [PATCH 0/2] mm: " Barry Song
2024-07-31 4:56 ` zhiguojiang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dbcd8d48-3095-4ed1-88fb-1de463e8f593@vivo.com \
--to=justinjiang@vivo.com \
--cc=21cnbao@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=aneesh.kumar@kernel.org \
--cc=arnd@arndb.de \
--cc=cgroups@vger.kernel.org \
--cc=hannes@cmpxchg.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@kernel.org \
--cc=muchun.song@linux.dev \
--cc=npiggin@gmail.com \
--cc=opensource.kernel@vivo.com \
--cc=peterz@infradead.org \
--cc=roman.gushchin@linux.dev \
--cc=shakeel.butt@linux.dev \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox