]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
sched/isolation: Update nohz documentation to explain tick offload
authorFrederic Weisbecker <frederic@kernel.org>
Wed, 21 Feb 2018 04:17:29 +0000 (05:17 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 21 Feb 2018 08:49:10 +0000 (09:49 +0100)
Update the documentation to reflect the 1Hz tick offload changes.

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Chris Metcalf <cmetcalf@mellanox.com>
Cc: Christoph Lameter <cl@linux.com>
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: Rik van Riel <riel@redhat.com>
Cc: Wanpeng Li <kernellwp@gmail.com>
Link: http://lkml.kernel.org/r/1519186649-3242-8-git-send-email-frederic@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Documentation/admin-guide/kernel-parameters.txt

index 1d1d53f85ddd79ce2218b7274b3114f41493ac3a..50b9837e985b2a7595fde3cca31627ffee42fb16 100644 (file)
 
                        nohz
                          Disable the tick when a single task runs.
+
+                         A residual 1Hz tick is offloaded to workqueues, which you
+                         need to affine to housekeeping through the global
+                         workqueue's affinity configured via the
+                         /sys/devices/virtual/workqueue/cpumask sysfs file, or
+                         by using the 'domain' flag described below.
+
+                         NOTE: by default the global workqueue runs on all CPUs,
+                         so to protect individual CPUs the 'cpumask' file has to
+                         be configured manually after bootup.
+
                        domain
                          Isolate from the general SMP balancing and scheduling
                          algorithms. Note that performing domain isolation this way