]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
sched: No PREEMPT_RT=y for all{yes,mod}config
authorPeter Zijlstra <peterz@infradead.org>
Thu, 7 Nov 2024 14:21:54 +0000 (15:21 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 7 Nov 2024 14:25:05 +0000 (15:25 +0100)
While PREEMPT_RT is undoubtedly totally awesome, it does not, at this
time, make sense to have all{yes,mod}config select it.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 35772d627b55 ("sched: Enable PREEMPT_DYNAMIC for PREEMPT_RT")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
kernel/Kconfig.preempt

index 7c1b29a3a491a15322974f36ce24efb9ec145d0a..54ea59ff8fbeb653b7084a78bd0d933076deaad5 100644 (file)
@@ -88,7 +88,7 @@ endchoice
 
 config PREEMPT_RT
        bool "Fully Preemptible Kernel (Real-Time)"
-       depends on EXPERT && ARCH_SUPPORTS_RT
+       depends on EXPERT && ARCH_SUPPORTS_RT && !COMPILE_TEST
        select PREEMPTION
        help
          This option turns the kernel into a real-time kernel by replacing