Skip to content

Commit 4c47031

Browse files
committed
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fixes from Thomas Gleixner: "Three patches addressing the fallout of the CPU_ISOLATION changes especially with NO_HZ_FULL plus documentation of boot parameter dependency" * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: sched/isolation: Document boot parameters dependency on CONFIG_CPU_ISOLATION=y sched/isolation: Enable CONFIG_CPU_ISOLATION=y by default sched/isolation: Make CONFIG_NO_HZ_FULL select CONFIG_CPU_ISOLATION
2 parents e7c632f + d94d105 commit 4c47031

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

Documentation/admin-guide/kernel-parameters.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ parameter is applicable::
109109
IPV6 IPv6 support is enabled.
110110
ISAPNP ISA PnP code is enabled.
111111
ISDN Appropriate ISDN support is enabled.
112+
ISOL CPU Isolation is enabled.
112113
JOY Appropriate joystick support is enabled.
113114
KGDB Kernel debugger support is enabled.
114115
KVM Kernel Virtual Machine support is enabled.

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1737,7 +1737,7 @@
17371737
isapnp= [ISAPNP]
17381738
Format: <RDP>,<reset>,<pci_scan>,<verbosity>
17391739

1740-
isolcpus= [KNL,SMP] Isolate a given set of CPUs from disturbance.
1740+
isolcpus= [KNL,SMP,ISOL] Isolate a given set of CPUs from disturbance.
17411741
[Deprecated - use cpusets instead]
17421742
Format: [flag-list,]<cpu-list>
17431743

@@ -2662,7 +2662,7 @@
26622662
Valid arguments: on, off
26632663
Default: on
26642664

2665-
nohz_full= [KNL,BOOT]
2665+
nohz_full= [KNL,BOOT,SMP,ISOL]
26662666
The argument is a cpu list, as described above.
26672667
In kernels built with CONFIG_NO_HZ_FULL=y, set
26682668
the specified list of CPUs whose tick will be stopped

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

kernel/time/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ config NO_HZ_FULL
9595
select RCU_NOCB_CPU
9696
select VIRT_CPU_ACCOUNTING_GEN
9797
select IRQ_WORK
98+
select CPU_ISOLATION
9899
help
99100
Adaptively try to shutdown the tick whenever possible, even when
100101
the CPU is running tasks. Typically this requires running a single

0 commit comments

Comments
 (0)