diff options
author | Lai Jiangshan <[email protected]> | 2024-06-21 15:32:22 +0800 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2024-06-21 12:34:02 -1000 |
commit | 68f83057b913467a999e1bf9e0da6a119668f769 (patch) | |
tree | 89bc42296c3e9110ccdcfff3bc9a5c30501057ac /tools/perf/scripts/python/parallel-perf.py | |
parent | b56c720718e97d2a1a0523e38fdc836adc188a2e (diff) |
workqueue: Reap workers via kthread_stop() and remove detach_completion
The code to kick off the destruction of workers is now in a process
context (idle_cull_fn()), so kthread_stop() can be used in the process
context to replace the work of pool->detach_completion.
The wakeup in wake_dying_workers() is unneeded after this change, but it
is harmless, jut keep it here until next patch renames wake_dying_workers()
rather than renaming it again and again.
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