diff options
author | Lai Jiangshan <jiangshan.ljs@antgroup.com> | 2024-06-21 10:32:25 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-06-22 01:34:02 +0300 |
commit | a071b043ab13ae1f5d12ba6f267936feb800dff8 (patch) | |
tree | b55224e85b15f9f9438feebc1ac9ff893372f3ef /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f4b7b53c94afdec6dd0f1f834cfcc40595ddc916 (diff) | |
download | linux-a071b043ab13ae1f5d12ba6f267936feb800dff8.tar.xz |
workqueue: Remove useless pool->dying_workers
A dying worker is first moved from pool->workers to pool->dying_workers
in set_worker_dying() and removed from pool->dying_workers in
detach_dying_workers(). The whole procedure is in the some lock context
of wq_pool_attach_mutex.
So pool->dying_workers is useless, just remove it and keep the dying
worker in pool->workers after set_worker_dying() and remove it in
detach_dying_workers() with wq_pool_attach_mutex held.
Cc: Valentin Schneider <vschneid@redhat.com>
Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions