summaryrefslogtreecommitdiffstats
path: root/kernel/sched
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-04-01 11:23:34 -0700
committerTejun Heo <tj@kernel.org>2013-04-01 11:23:34 -0700
commit6029a91829ad2bd876fed78bc088d3469a9dd777 (patch)
treeb5767d17ce0ed6f0ecee7d1b2ad8fcfe753505d9 /kernel/sched
parentf3f90ad46934202eeefac454fd5d89bf73c6aa34 (diff)
downloadop-kernel-dev-6029a91829ad2bd876fed78bc088d3469a9dd777.zip
op-kernel-dev-6029a91829ad2bd876fed78bc088d3469a9dd777.tar.gz
workqueue: add workqueue->unbound_attrs
Currently, when exposing attrs of an unbound workqueue via sysfs, the workqueue_attrs of first_pwq() is used as that should equal the current state of the workqueue. The planned NUMA affinity support will make unbound workqueues make use of multiple pool_workqueues for different NUMA nodes and the above assumption will no longer hold. Introduce workqueue->unbound_attrs which records the current attrs in effect and use it for sysfs instead of first_pwq()->attrs. Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Diffstat (limited to 'kernel/sched')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud