All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] mm/slab: restore the rcutree. prefix of the kvfree_rcu parameters
@ 2026-11-20  8:37 Zhan Xusheng
  2026-11-20  8:37 ` [PATCH v2 2/2] mm/slab: don't queue the page cache work under krcp->lock Zhan Xusheng
  2026-11-23 14:19 ` [PATCH v2 1/2] mm/slab: restore the rcutree. prefix of the kvfree_rcu parameters Harry Yoo (Meta)
  0 siblings, 2 replies; 4+ messages in thread
From: Zhan Xusheng @ 2026-11-20  8:37 UTC (permalink / raw)
  To: vbabka, harry
  Cc: urezki, paulmck, qiang.zhang, akpm, hao.li, cl, rientjes,
	roman.gushchin, linux-mm, rcu, linux-kernel, zhanxusheng, stable

From: Zhan Xusheng <zhanxusheng@xiaomi.com>

The move of kvfree_rcu() to mm/slab_common.c dropped the "rcutree."
MODULE_PARAM_PREFIX, so rcu_min_cached_objs and
rcu_delay_page_cache_fill_msec became slab_common.* and the documented
rcutree.* names are silently ignored.  Restore the prefix; the
slab_common.* names, never documented, stop working.

Fixes: bbe658d65802 ("mm/slab: Move kvfree_rcu() into SLAB")
Cc: stable@vger.kernel.org
Signed-off-by: Zhan Xusheng <zhanxusheng@xiaomi.com>
Reviewed-by: Harry Yoo (Meta) <harry@kernel.org>
Reviewed-by: Vlastimil Babka (SUSE) <vbabka@kernel.org>
Reviewed-by: Hao Li <hao.li@linux.dev>
---
v2: as in slab/for-next-fixes.

 mm/slab_common.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/mm/slab_common.c b/mm/slab_common.c
index 01c64ef661e7..41dea01a8c1f 100644
--- a/mm/slab_common.c
+++ b/mm/slab_common.c
@@ -1367,6 +1367,10 @@ void __init kvfree_rcu_init(void)
 
 #else /* CONFIG_KVFREE_RCU_BATCHED */
 
+/* Keep the prefix inherited from RCU */
+#undef MODULE_PARAM_PREFIX
+#define MODULE_PARAM_PREFIX "rcutree."
+
 /*
  * This rcu parameter is runtime-read-only. It reflects
  * a minimum allowed number of objects which can be cached

base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-23 14:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-20  8:37 [PATCH v2 1/2] mm/slab: restore the rcutree. prefix of the kvfree_rcu parameters Zhan Xusheng
2026-11-20  8:37 ` [PATCH v2 2/2] mm/slab: don't queue the page cache work under krcp->lock Zhan Xusheng
2026-11-22 15:45   ` Uladzislau Rezki
2026-11-23 14:19 ` [PATCH v2 1/2] mm/slab: restore the rcutree. prefix of the kvfree_rcu parameters Harry Yoo (Meta)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.