[PATCH 0/3] slab: switch away from the legacy param parser

From: Petr Tesarik
Date: Fri Oct 24 2025 - 13:09:57 EST


The handling of legacy __setup() parameters has some confusing quirks.
Instead of fixing them, convert the code to struct kerenel_param, which
is a saner API.

Note that parameters defined with core_param() and __core_param_cb() are
parsed early in start_kernel(). Do not confuse them with core_param_cb(),
which are processed at a later stage.

Petr Tesarik (3):
slab: constify slab debug strings
slab: convert setup_slub_debug() to use __core_param_cb()
slab: use core_param for remaining command line parameters

mm/slub.c | 87 ++++++++++++++++++++++++++++++++-----------------------
1 file changed, 51 insertions(+), 36 deletions(-)

--
2.51.0