Re: [PATCH 2/2] docs: sched-preemption: Fix the list of runtime-selectable models

From: Daniel Pereira

Date: Wed Oct 28 2026 - 11:49:15 EST


On Tue, Oct 27, 2026 11:44 PM, Jinjie Ruan <ruanjinjie@xxxxxxxxxx> wrote:
>
> CONFIG_PREEMPT_DYNAMIC now depends on CONFIG_ARCH_HAS_PREEMPT_LAZY, so the
> none and voluntary models can no longer be selected at runtime; passing
> either to preempt= is rejected with "Dynamic Preempt: unsupported mode".
>
> Drop them from the table of runtime-selectable models, and describe the
> build-time situation instead of implying the choice simply depends on the
> architecture offering lazy preemption. Keep the per-model descriptions
> below, which still explain how a scheduling request is honoured under
> models used by other kernels.
>
> Signed-off-by: Jinjie Ruan <ruanjinjie@xxxxxxxxxx>
> ---
> Documentation/scheduler/sched-preemption.rst | 13 ++++++-------
> 1 file changed, 6 insertions(+), 7 deletions(-)

Hi Jinjie,

Thanks for the patch. I validated it: checkpatch and the scheduler docs
build (SPHINXDIRS=scheduler) report no errors or new warnings, the table
renders as expected, and the changes match current mainline
(PREEMPT_DYNAMIC depends on ARCH_HAS_PREEMPT_LAZY, d3d16750693b).

Reviewed-by: Daniel Pereira <danielmaraboo@xxxxxxxxx>

Best regards,
Daniel