diff options
author | Lai Jiangshan <[email protected]> | 2024-06-21 15:32:24 +0800 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2024-06-21 12:34:02 -1000 |
commit | f4b7b53c94afdec6dd0f1f834cfcc40595ddc916 (patch) | |
tree | 8cf61aacbd5124f8425aa40bf3a9aa36b829af3a /tools/perf/scripts/python/parallel-perf.py | |
parent | f45b1c3c33373c8c29a95a5188165d6eb634823a (diff) |
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 <[email protected]>
Signed-off-by: Lai Jiangshan <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions