diff options
author | Lai Jiangshan <jiangshan.ljs@antgroup.com> | 2024-06-21 10:32:22 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-06-22 01:34:02 +0300 |
commit | 68f83057b913467a999e1bf9e0da6a119668f769 (patch) | |
tree | 89bc42296c3e9110ccdcfff3bc9a5c30501057ac /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b56c720718e97d2a1a0523e38fdc836adc188a2e (diff) | |
download | linux-68f83057b913467a999e1bf9e0da6a119668f769.tar.xz |
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 <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-postgresql.py')
0 files changed, 0 insertions, 0 deletions