From: Zhan Xusheng <zhanxusheng1024@gmail.com>
To: Uladzislau Rezki <urezki@gmail.com>
Cc: vbabka@kernel.org, harry@kernel.org, paulmck@kernel.org,
qiang.zhang@linux.dev, akpm@linux-foundation.org,
hao.li@linux.dev, cl@gentwo.org, rientjes@google.com,
roman.gushchin@linux.dev, linux-mm@kvack.org,
rcu@vger.kernel.org, linux-kernel@vger.kernel.org,
zhanxusheng@xiaomi.com, Zhan Xusheng <zhanxusheng1024@gmail.com>
Subject: Re: [PATCH 2/2] mm/slab: don't queue the page cache work under krcp->lock
Date: Fri, 6 Nov 2026 20:18:52 +0800 [thread overview]
Message-ID: <20261106121852.3124703-1-zhanxusheng1024@gmail.com> (raw)
In-Reply-To: <au2fUYzBLv3uvj_2@milan>
Hi Uladzislau,
> so we forbid zero as value to use?
Yes, that works as well. The parameter is 0444, so the clamp in
kvfree_rcu_init() covers every case, and with a delay of at least one
jiffy queue_delayed_work() arms a timer instead of queueing the work
under krcp->lock. The check added to run_page_cache_worker() would
then not be needed.
Thanks,
Zhan Xusheng
next prev parent reply other threads:[~2026-11-06 12:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-28 13:46 [PATCH 1/2] mm/slab: restore the rcutree. prefix of the kvfree_rcu parameters Zhan Xusheng
2026-10-28 13:46 ` [PATCH 2/2] mm/slab: don't queue the page cache work under krcp->lock Zhan Xusheng
2026-11-02 14:35 ` Harry Yoo
2026-11-04 8:19 ` Vlastimil Babka (SUSE)
2026-11-06 8:00 ` Hao Li
2026-11-06 11:32 ` Hao Li
2026-11-06 9:35 ` Uladzislau Rezki
2026-11-06 12:18 ` Zhan Xusheng [this message]
2026-11-06 12:21 ` Harry Yoo
2026-10-28 15:23 ` [PATCH 1/2] mm/slab: restore the rcutree. prefix of the kvfree_rcu parameters Harry Yoo
2026-11-02 14:33 ` Harry Yoo
2026-11-04 8:17 ` Vlastimil Babka (SUSE)
2026-11-06 7:59 ` Hao Li
2026-11-02 14:27 ` Harry Yoo (Meta)
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=20261106121852.3124703-1-zhanxusheng1024@gmail.com \
--to=zhanxusheng1024@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=cl@gentwo.org \
--cc=hao.li@linux.dev \
--cc=harry@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=paulmck@kernel.org \
--cc=qiang.zhang@linux.dev \
--cc=rcu@vger.kernel.org \
--cc=rientjes@google.com \
--cc=roman.gushchin@linux.dev \
--cc=urezki@gmail.com \
--cc=vbabka@kernel.org \
--cc=zhanxusheng@xiaomi.com \
/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
all inboxes | Powered by JetHome®