diff options
| author | Tejun Heo <[email protected]> | 2018-05-18 15:47:13 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2018-05-18 15:47:13 +0000 |
| commit | 1258fae73c59e918964455fdead682d79109371a (patch) | |
| tree | a22e88223f74e440eba499580e46533cf19d051d /fs/proc/array.c | |
| parent | Merge tag 'trace-v4.17-rc4-2' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
| download | kernel-1258fae73c59e918964455fdead682d79109371a.tar.gz kernel-1258fae73c59e918964455fdead682d79109371a.zip | |
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 <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
