All of lore.kernel.org
 help / color / mirror / Atom feed
* [tip: sched/urgent] sched/core: Disable CONFIG_SCHED_CORE by default
@ 2021-06-28 21:39 tip-bot2 for Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Ingo Molnar @ 2021-06-28 21:39 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Linus Torvalds, Ingo Molnar, x86, linux-kernel

The following commit has been merged into the sched/urgent branch of tip:

Commit-ID:     d2343cb8d154fe20c4499711bb3a9af2095b2b4b
Gitweb:        https://git.kernel.org/tip/d2343cb8d154fe20c4499711bb3a9af2095b2b4b
Author:        Ingo Molnar <mingo@kernel.org>
AuthorDate:    Mon, 28 Jun 2021 21:55:16 +02:00
Committer:     Ingo Molnar <mingo@kernel.org>
CommitterDate: Mon, 28 Jun 2021 22:43:05 +02:00

sched/core: Disable CONFIG_SCHED_CORE by default

This option at minimum adds extra code to the scheduler - even if
it's default unused - and most users wouldn't want it.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 kernel/Kconfig.preempt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt
index bd7c414..5876e30 100644
--- a/kernel/Kconfig.preempt
+++ b/kernel/Kconfig.preempt
@@ -102,7 +102,6 @@ config PREEMPT_DYNAMIC
 
 config SCHED_CORE
 	bool "Core Scheduling for SMT"
-	default y
 	depends on SCHED_SMT
 	help
 	  This option permits Core Scheduling, a means of coordinated task
@@ -115,7 +114,8 @@ config SCHED_CORE
 	   - mitigation of some (not all) SMT side channels;
 	   - limiting SMT interference to improve determinism and/or performance.
 
-	  SCHED_CORE is default enabled when SCHED_SMT is enabled -- when
-	  unused there should be no impact on performance.
+	  SCHED_CORE is default disabled. When it is enabled and unused,
+	  which is the likely usage by Linux distributions, there should
+	  be no measurable impact on performance.
 
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [tip: sched/urgent] sched/core: Disable CONFIG_SCHED_CORE by default
@ 2021-06-28 20:06 tip-bot2 for Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Ingo Molnar @ 2021-06-28 20:06 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Linus Torvalds, Ingo Molnar, x86, linux-kernel

The following commit has been merged into the sched/urgent branch of tip:

Commit-ID:     0e81c7c17c3edd469b6a87333059714a618d882c
Gitweb:        https://git.kernel.org/tip/0e81c7c17c3edd469b6a87333059714a618d882c
Author:        Ingo Molnar <mingo@kernel.org>
AuthorDate:    Mon, 28 Jun 2021 21:55:16 +02:00
Committer:     Ingo Molnar <mingo@kernel.org>
CommitterDate: Mon, 28 Jun 2021 21:55:16 +02:00

sched/core: Disable CONFIG_SCHED_CORE by default

This option adds extra overhead to the scheduler, and most users wouldn't want it.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 kernel/Kconfig.preempt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt
index bd7c414..3654a92 100644
--- a/kernel/Kconfig.preempt
+++ b/kernel/Kconfig.preempt
@@ -102,7 +102,6 @@ config PREEMPT_DYNAMIC
 
 config SCHED_CORE
 	bool "Core Scheduling for SMT"
-	default y
 	depends on SCHED_SMT
 	help
 	  This option permits Core Scheduling, a means of coordinated task

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-28 21:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-28 21:39 [tip: sched/urgent] sched/core: Disable CONFIG_SCHED_CORE by default tip-bot2 for Ingo Molnar
  -- strict thread matches above, loose matches on Subject: below --
2021-06-28 20:06 tip-bot2 for Ingo Molnar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.