Skip to content

Commit d2343cb

Browse files
author
Ingo Molnar
committed
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>
1 parent adf3c31 commit d2343cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kernel/Kconfig.preempt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ config PREEMPT_DYNAMIC
102102

103103
config SCHED_CORE
104104
bool "Core Scheduling for SMT"
105-
default y
106105
depends on SCHED_SMT
107106
help
108107
This option permits Core Scheduling, a means of coordinated task
@@ -115,7 +114,8 @@ config SCHED_CORE
115114
- mitigation of some (not all) SMT side channels;
116115
- limiting SMT interference to improve determinism and/or performance.
117116

118-
SCHED_CORE is default enabled when SCHED_SMT is enabled -- when
119-
unused there should be no impact on performance.
117+
SCHED_CORE is default disabled. When it is enabled and unused,
118+
which is the likely usage by Linux distributions, there should
119+
be no measurable impact on performance.
120120

121121

0 commit comments

Comments
 (0)