aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2018-05-18 15:47:13 +0000
committerTejun Heo <[email protected]>2018-05-18 15:47:13 +0000
commita2d812a27a4530b999a92f245d0d8291663e8c38 (patch)
tree1b3253129ac2bfdf227cc6171cbf7578a383f8a9 /fs/proc/array.c
parentworkqueue: Replace pool->attach_mutex with global wq_pool_attach_mutex (diff)
downloadkernel-a2d812a27a4530b999a92f245d0d8291663e8c38.tar.gz
kernel-a2d812a27a4530b999a92f245d0d8291663e8c38.zip
workqueue: Make worker_attach/detach_pool() update worker->pool
For historical reasons, the worker attach/detach functions don't currently manage worker->pool and the callers are manually and inconsistently updating it. This patch moves worker->pool updates into the worker attach/detach functions. This makes worker->pool consistent and clearly defines how worker->pool updates are synchronized. This will help later workqueue visibility improvements by allowing safe access to workqueue information from worker->task. Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions