[tip: sched/urgent] sched/core: Disable CONFIG_SCHED_CORE by default

From: tip-bot2 for Ingo Molnar
Date: Mon Jun 28 2021 - 16:06:35 EST


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@xxxxxxxxxx>
AuthorDate: Mon, 28 Jun 2021 21:55:16 +02:00
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
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