aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/kernel-parameters.txt
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-04-01 14:23:38 -0400
committerTejun Heo <tj@kernel.org>2013-04-01 14:23:38 -0400
commitd55262c4d164759a8debe772da6c9b16059dec47 (patch)
tree2dffae0287567802a05e3290048195ea277d22ae /Documentation/kernel-parameters.txt
parent4c16bd327c74d6678858706211a0c6e4e53eb3e6 (diff)
workqueue: update sysfs interface to reflect NUMA awareness and a kernel param to disable NUMA affinity
Unbound workqueues are now NUMA aware. Let's add some control knobs and update sysfs interface accordingly. * Add kernel param workqueue.numa_disable which disables NUMA affinity globally. * Replace sysfs file "pool_id" with "pool_ids" which contain node:pool_id pairs. This change is userland-visible but "pool_id" hasn't seen a release yet, so this is okay. * Add a new sysf files "numa" which can toggle NUMA affinity on individual workqueues. This is implemented as attrs->no_numa whichn is special in that it isn't part of a pool's attributes. It only affects how apply_workqueue_attrs() picks which pools to use. After "pool_ids" change, first_pwq() doesn't have any user left. Removed. Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r--Documentation/kernel-parameters.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 4609e81dbc37..c75ea0b8ec59 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -3222,6 +3222,15 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
3222 or other driver-specific files in the 3222 or other driver-specific files in the
3223 Documentation/watchdog/ directory. 3223 Documentation/watchdog/ directory.
3224 3224
3225 workqueue.disable_numa
3226 By default, all work items queued to unbound
3227 workqueues are affine to the NUMA nodes they're
3228 issued on, which results in better behavior in
3229 general. If NUMA affinity needs to be disabled for
3230 whatever reason, this option can be used. Note
3231 that this also can be controlled per-workqueue for
3232 workqueues visible under /sys/bus/workqueue/.
3233
3225 x2apic_phys [X86-64,APIC] Use x2apic physical mode instead of 3234 x2apic_phys [X86-64,APIC] Use x2apic physical mode instead of
3226 default x2apic cluster mode on platforms 3235 default x2apic cluster mode on platforms
3227 supporting x2apic. 3236 supporting x2apic.