Messages in this thread Patch in this message | | | Date | Mon, 28 Jun 2021 21:57:31 +0200 | From | Ingo Molnar <> | Subject | [PATCH] sched/core: Disable CONFIG_SCHED_CORE by default |
| |
* Linus Torvalds <torvalds@linux-foundation.org> wrote:
> On Sun, Jun 27, 2021 at 11:51 PM Ingo Molnar <mingo@kernel.org> wrote: > > > > - Add "Core Scheduling" via CONFIG_SCHED_CORE=y, > > Grr. > > Why is this feature "default y"? I see no reason why anybody would > enable it outside of cloud providers, which doesn't argue for it being > on by default.
You are completely right, I missed this. Find below the patch to fix it - feel free to apply it directly, will rebase sched/urgent accordingly.
Thanks,
Ingo
=====================> From: Ingo Molnar <mingo@kernel.org> Date: Mon, 28 Jun 2021 21:55:16 +0200 Subject: [PATCH] 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@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> --- kernel/Kconfig.preempt | 1 - 1 file changed, 1 deletion(-)
diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt index bd7c4147b9a8..3654a92e7e70 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
| |