diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2013-03-26 00:57:18 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-03-26 00:57:18 +0100 |
commit | 87fc741e94cf64445c698486982b30afa0811eca (patch) | |
tree | 2da27793071072983a69a8808c9c7dad4b0c568b /crypto/serpent_generic.c | |
parent | workqueue: rename wq->flush_mutex to wq->mutex (diff) | |
download | linux-87fc741e94cf64445c698486982b30afa0811eca.tar.xz linux-87fc741e94cf64445c698486982b30afa0811eca.zip |
workqueue: protect wq->nr_drainers and ->flags with wq->mutex
We're expanding wq->mutex to cover all fields specific to each
workqueue with the end goal of replacing pwq_lock which will make
locking simpler and easier to understand.
wq->nr_drainers and ->flags are specific to each workqueue. Protect
->nr_drainers and ->flags with wq->mutex instead of pool_mutex.
tj: Rebased on top of the current dev branch. Updated description.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions