From: Lai Jiangshan Date: Mon, 25 Mar 2013 23:57:18 +0000 (-0700) Subject: workqueue: protect wq->nr_drainers and ->flags with wq->mutex X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~125^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87fc741e94cf64445c698486982b30afa0811eca;p=pandora-kernel.git 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 Signed-off-by: Tejun Heo --- Reading git-diff-tree failed