summaryrefslogtreecommitdiff
path: root/kernel/workqueue_internal.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2018-05-18 08:47:13 -0700
committerTejun Heo <tj@kernel.org>2018-05-18 08:47:13 -0700
commit1258fae73c59e918964455fdead682d79109371a (patch)
treea22e88223f74e440eba499580e46533cf19d051d /kernel/workqueue_internal.h
parente6506eb241871d68647c53cb6d0a16299550ae97 (diff)
workqueue: Replace pool->attach_mutex with global wq_pool_attach_mutex
To improve workqueue visibility, we want to be able to access workqueue information from worker tasks. The per-pool attach mutex makes that difficult because there's no way of stabilizing task -> worker pool association without knowing the pool first. Worker attach/detach is a slow path and there's no need for different pools to be able to perform them concurrently. This patch replaces the per-pool attach_mutex with global wq_pool_attach_mutex to prepare for visibility improvement changes. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/workqueue_internal.h')
0 files changed, 0 insertions, 0 deletions