public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [tip: sched/core] sched: No PREEMPT_RT=y for all{yes,mod}config
@ 2024-11-07 14:33 tip-bot2 for Peter Zijlstra
  0 siblings, 0 replies; only message in thread
From: tip-bot2 for Peter Zijlstra @ 2024-11-07 14:33 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: Stephen Rothwell, Peter Zijlstra (Intel), x86, linux-kernel

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-07 14:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-07 14:33 [tip: sched/core] sched: No PREEMPT_RT=y for all{yes,mod}config tip-bot2 for Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox