sched: Enable PREEMPT_DYNAMIC for PREEMPT_RT
authorPeter Zijlstra <peterz@infradead.org>
Fri, 4 Oct 2024 12:46:56 +0000 (14:46 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 5 Nov 2024 11:55:38 +0000 (12:55 +0100)
commit35772d627b55cc7fb4f33bae57c564a25b3121a9
treecc854ab9670c42e24105d639c5f697578fa1739b
parent7c70cb94d29cd325fabe4a818c18613e3b9919a1
sched: Enable PREEMPT_DYNAMIC for PREEMPT_RT

In order to enable PREEMPT_DYNAMIC for PREEMPT_RT, remove PREEMPT_RT
from the 'Preemption Model' choice. Strictly speaking PREEMPT_RT is
not a change in how preemption works, but rather it makes a ton more
code preemptible.

Notably, take away NONE and VOLUNTARY options for PREEMPT_RT, they make
no sense (but are techincally possible).

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lkml.kernel.org/r/20241007075055.441622332@infradead.org
kernel/Kconfig.preempt
kernel/sched/core.c
kernel/sched/debug.c