Re: [PATCH 2/2] mm/slab: don't queue the page cache work under krcp->lock
From: Zhan Xusheng
Date: Fri Nov 06 2026 - 07:31:55 EST
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