Re: [PATCH 0/3] slab: switch away from the legacy param parser
From: Vlastimil Babka
Date: Mon Oct 27 2025 - 11:14:47 EST
On 10/24/25 19:06, Petr Tesarik wrote:
> 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.
Thanks! Added to slab/for-next
> 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(-)
>