Re: [PATCH 1/2] docs: kernel-parameters: Drop unsupported preempt= modes
From: Daniel Pereira
Date: Wed Oct 28 2026 - 11:46:41 EST
Em ter., 27 de out. de 2026 às 23:45, Jinjie Ruan
<ruanjinjie@xxxxxxxxxx> escreveu:
>
> Since commit d3d16750693b ("sched: dynamic: Make PREEMPT_DYNAMIC depend
> on ARCH_HAS_PREEMPT_LAZY") only "full" and "lazy" are accepted with
> CONFIG_PREEMPT_DYNAMIC: every architecture that supports it selects
> ARCH_HAS_PREEMPT_LAZY, which excludes the none and voluntary models.
> Passing either is rejected with "Dynamic Preempt: unsupported mode".
>
Hi Jinjie,
Thanks for the patch. I checked it against current mainline:
PREEMPT_DYNAMIC now depends on ARCH_HAS_PREEMPT_LAZY (d3d16750693b),
sched_dynamic_mode() only accepts "full" and "lazy", and all six
architectures that select HAVE_PREEMPT_DYNAMIC also select
ARCH_HAS_PREEMPT_LAZY. So dropping "none" and "voluntary" from the
preempt= entry matches the code.
checkpatch is clean, and the admin-guide build (SPHINXDIRS=admin-guide)
renders the preempt= entry correctly with only "full" and "lazy".
Reviewed-by: Daniel Pereira <danielmaraboo@xxxxxxxxx>
Best regards,
Daniel