diff options
author | Lai Jiangshan <jiangshan.ljs@antgroup.com> | 2024-06-21 10:32:24 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-06-22 01:34:02 +0300 |
commit | f4b7b53c94afdec6dd0f1f834cfcc40595ddc916 (patch) | |
tree | 8cf61aacbd5124f8425aa40bf3a9aa36b829af3a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f45b1c3c33373c8c29a95a5188165d6eb634823a (diff) | |
download | linux-f4b7b53c94afdec6dd0f1f834cfcc40595ddc916.tar.xz |
workqueue: Detach workers directly in idle_cull_fn()
The code to kick off the destruction of workers is now in a process
context (idle_cull_fn()), and the detaching of a worker is not required
to be inside the worker thread now, so just do the detaching directly
in idle_cull_fn().
wake_dying_workers() is renamed to detach_dying_workers() and the unneeded
wakeup in wake_dying_workers() is also removed.
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