Skip to content

Commit 2c43838

Browse files
Frederic WeisbeckerIngo Molnar
authored andcommitted
sched/isolation: Enable CONFIG_CPU_ISOLATION=y by default
The "isolcpus=" boot parameter support was always built-in before we moved the related code under CONFIG_CPU_ISOLATION. Having it disabled by default is very confusing for people accustomed to use this parameter. So enable it by dafault to keep the previous behaviour but keep it optable for those who want to tinify their kernels. Signed-off-by: Frederic Weisbecker <frederic@kernel.org> Cc: Chris Metcalf <cmetcalf@mellanox.com> Cc: Christoph Lameter <cl@linux.com> Cc: John Stultz <john.stultz@linaro.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Luiz Capitulino <lcapitulino@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Rik van Riel <riel@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Wanpeng Li <kernellwp@gmail.com> Cc: kernel test robot <xiaolong.ye@intel.com> Link: http://lkml.kernel.org/r/1513275507-29200-3-git-send-email-frederic@kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent bf29cb2 commit 2c43838

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

init/Kconfig

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,10 +461,14 @@ endmenu # "CPU/Task time and stats accounting"
461461

462462
config CPU_ISOLATION
463463
bool "CPU isolation"
464+
default y
464465
help
465466
Make sure that CPUs running critical tasks are not disturbed by
466467
any source of "noise" such as unbound workqueues, timers, kthreads...
467-
Unbound jobs get offloaded to housekeeping CPUs.
468+
Unbound jobs get offloaded to housekeeping CPUs. This is driven by
469+
the "isolcpus=" boot parameter.
470+
471+
Say Y if unsure.
468472

469473
source "kernel/rcu/Kconfig"
470474

0 commit comments

Comments
 (0)