[tip: sched/core] sched: No PREEMPT_RT=y for all{yes,mod}config

tip-bot2 for Peter Zijlstra posted 1 patch 2 weeks, 2 days ago
kernel/Kconfig.preempt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[tip: sched/core] sched: No PREEMPT_RT=y for all{yes,mod}config
Posted by tip-bot2 for Peter Zijlstra 2 weeks, 2 days ago
The following commit has been merged into the sched/core branch of tip:

Commit-ID:     fe9beaaa802d44d881b165430b3239a9d7bebf30
Gitweb:        https://git.kernel.org/tip/fe9beaaa802d44d881b165430b3239a9d7bebf30
Author:        Peter Zijlstra <peterz@infradead.org>
AuthorDate:    Thu, 07 Nov 2024 15:21:54 +01:00
Committer:     Peter Zijlstra <peterz@infradead.org>
CommitterDate: Thu, 07 Nov 2024 15:25:05 +01:00

sched: No PREEMPT_RT=y for all{yes,mod}config

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt
index 7c1b29a..54ea59f 100644
--- a/kernel/Kconfig.preempt
+++ b/kernel/Kconfig.preempt
@@ -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