From: Tejun Heo Date: Mon, 1 Apr 2013 18:23:34 +0000 (-0700) Subject: workqueue: add workqueue->unbound_attrs X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~125^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6029a91829ad2bd876fed78bc088d3469a9dd777;p=pandora-kernel.git 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 Reviewed-by: Lai Jiangshan --- Reading git-diff-tree failed