summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorLai Jiangshan <jiangshan.ljs@antgroup.com>2024-06-21 10:32:25 +0300
committerTejun Heo <tj@kernel.org>2024-06-22 01:34:02 +0300
commita071b043ab13ae1f5d12ba6f267936feb800dff8 (patch)
treeb55224e85b15f9f9438feebc1ac9ff893372f3ef /tools/perf/scripts/python/export-to-sqlite.py
parentf4b7b53c94afdec6dd0f1f834cfcc40595ddc916 (diff)
downloadlinux-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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions