From: Tejun Heo Date: Mon, 1 Apr 2013 18:23:32 +0000 (-0700) Subject: workqueue: move pwq_pool_locking outside of get/put_unbound_pool() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~125^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a892cacc7f4960a39c0fad7bbdf04c5cbf7c229e;p=pandora-kernel.git workqueue: move pwq_pool_locking outside of get/put_unbound_pool() The scheduled NUMA affinity support for unbound workqueues would need to walk workqueues list and pool related operations on each workqueue. Move wq_pool_mutex locking out of get/put_unbound_pool() to their callers so that pool operations can be performed while walking the workqueues list, which is also protected by wq_pool_mutex. Signed-off-by: Tejun Heo Reviewed-by: Lai Jiangshan --- Reading git-diff-tree failed