workqueue: introduce put_pwq_unlocked()
authorTejun Heo <tj@kernel.org>
Mon, 1 Apr 2013 18:23:35 +0000 (11:23 -0700)
committerTejun Heo <tj@kernel.org>
Mon, 1 Apr 2013 18:23:35 +0000 (11:23 -0700)
commitdce90d47c4288c7d3c1988bebb059ea7451d5fd5
tree636f36bd20d7aba953b28346f927be5cf33ea055
parent1befcf3073fa083e7dc48c384ce06f3bd900f514
workqueue: introduce put_pwq_unlocked()

Factor out lock pool, put_pwq(), unlock sequence into
put_pwq_unlocked().  The two existing places are converted and there
will be more with NUMA affinity support.

This is to prepare for NUMA affinity support for unbound workqueues
and doesn't introduce any functional difference.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>
kernel/workqueue.c
This page took 0.032577 seconds and 5 git commands to generate.