Re: [PATCH 3/3] slab: use new API for remaining command line parameters
From: Petr Tesarik
Date: Thu Oct 30 2025 - 09:32:30 EST
On Wed, 29 Oct 2025 19:52:46 +0900
Harry Yoo <harry.yoo@xxxxxxxxxx> wrote:
> On Fri, Oct 24, 2025 at 07:06:54PM +0200, Petr Tesarik wrote:
> > Use core_param() and __core_param_cb() instead of __setup() or
> > __setup_param() to improve syntax checking and error messages.
> >
> > Replace get_option() with kstrtouint(), because:
> > * the latter accepts a pointer to const char,
> > * these parameters should not accept ranges,
> > * error value can be passed directly to parser.
> >
> > There is one more change apart from the parsing of numeric parameters:
> > slub_strict_numa parameter name must match exactly. Before this patch the
>
> nit: ^ slab_strict_numa
Indeed.
Petr T