summaryrefslogtreecommitdiff
path: root/lib/cpu_rmap.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-03-12 11:29:58 -0700
committerTejun Heo <tj@kernel.org>2013-03-12 11:29:58 -0700
commit171169695555831e8cc41dbc1783700868631ea5 (patch)
tree62e774a7298eadb486a7148796b2e8cd627d6e77 /lib/cpu_rmap.c
parent49e3cf44df0663a521aa71e7667c52a9dbd0fce9 (diff)
downloadlwn-171169695555831e8cc41dbc1783700868631ea5.tar.gz
lwn-171169695555831e8cc41dbc1783700868631ea5.zip
workqueue: introduce for_each_pool()
With the scheduled unbound pools with custom attributes, there will be multiple unbound pools, so it wouldn't be able to use for_each_wq_cpu() + for_each_std_worker_pool() to iterate through all pools. Introduce for_each_pool() which iterates through all pools using worker_pool_idr and use it instead of for_each_wq_cpu() + for_each_std_worker_pool() combination in freeze_workqueues_begin(). Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Diffstat (limited to 'lib/cpu_rmap.c')
0 files changed, 0 insertions, 0 deletions