Skip to content

Commit

Permalink
sched/core: Disable CONFIG_SCHED_CORE by default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar committed Jun 28, 2021
1 parent adf3c31 commit d2343cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kernel/Kconfig.preempt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.


0 comments on commit d2343cb

Please sign in to comment.