diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2015-04-27 17:58:39 +0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-04-27 11:13:40 -0400 |
commit | b05a79280b346eb24ddb73b39988398015291075 (patch) | |
tree | 0f1e6c60df2410ada3084f81ee3a8c5efdcdcede /include | |
parent | 2d5f0764b5264d2954ba6e3deb04f4f5de8e4476 (diff) | |
download | linux-rt-b05a79280b346eb24ddb73b39988398015291075.tar.gz |
workqueue: Create low-level unbound workqueues cpumask
Create a cpumask that limits the affinity of all unbound workqueues.
This cpumask is controlled through a file at the root of the workqueue
sysfs directory.
It works on a lower-level than the per WQ_SYSFS workqueues cpumask files
such that the effective cpumask applied for a given unbound workqueue is
the intersection of /sys/devices/virtual/workqueue/$WORKQUEUE/cpumask and
the new /sys/devices/virtual/workqueue/cpumask file.
This patch implements the basic infrastructure and the read interface.
wq_unbound_cpumask is initially set to cpu_possible_mask.
Cc: Christoph Lameter <cl@linux.com>
Cc: Kevin Hilman <khilman@linaro.org>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Mike Galbraith <bitbucket@online.de>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions