]> git.baikalelectronics.ru Git - kernel.git/commit
workqueue: add workqueue_struct->pwqs list
authorTejun Heo <tj@kernel.org>
Tue, 12 Mar 2013 18:29:57 +0000 (11:29 -0700)
committerTejun Heo <tj@kernel.org>
Tue, 12 Mar 2013 18:29:57 +0000 (11:29 -0700)
commit6706e9871b514e2cb28a335d3904436bf4453eb6
tree0a3e95d353c7395cf92f03b3a23b5d2a9c86bb10
parentfb9f1c2d6a7b1a218c3676fdb27e3b6e6fea497c
workqueue: add workqueue_struct->pwqs list

Add workqueue_struct->pwqs list and chain all pool_workqueues
belonging to a workqueue there.  This will be used to implement
generic pool_workqueue iteration and handle multiple pool_workqueues
for the scheduled unbound pools with custom attributes.

This patch doesn't introduce any visible behavior changes.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>
kernel/workqueue.c