summaryrefslogtreecommitdiffstats
path: root/kernel/Kconfig.preempt
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2021-06-28 21:55:16 +0200
committerIngo Molnar <mingo@kernel.org>2021-06-28 22:43:05 +0200
commitd2343cb8d154fe20c4499711bb3a9af2095b2b4b (patch)
treea97cc45cffcfb0d49fe98dd8151bb5e05a069ff5 /kernel/Kconfig.preempt
parentadf3c31e18b765ea24eba7b0c1efc076b8ee3d55 (diff)
downloadlinux-stable-d2343cb8d154fe20c4499711bb3a9af2095b2b4b.tar.gz
linux-stable-d2343cb8d154fe20c4499711bb3a9af2095b2b4b.tar.bz2
linux-stable-d2343cb8d154fe20c4499711bb3a9af2095b2b4b.zip
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>
Diffstat (limited to 'kernel/Kconfig.preempt')
-rw-r--r--kernel/Kconfig.preempt6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt
index bd7c4147b9a8..5876e30c5740 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.