]> Git Repo - linux.git/commitdiff
sched/core: Disable CONFIG_SCHED_CORE by default
authorIngo Molnar <[email protected]>
Mon, 28 Jun 2021 19:55:16 +0000 (21:55 +0200)
committerIngo Molnar <[email protected]>
Mon, 28 Jun 2021 20:43:05 +0000 (22:43 +0200)
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 <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
kernel/Kconfig.preempt

index bd7c4147b9a8105e15e081687c4e7217f37c3aec..5876e30c5740d8ff52de11407fc283d7d2b4e838 100644 (file)
@@ -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.
 
 
This page took 0.059429 seconds and 4 git commands to generate.