diff options
| author | 2024-06-21 15:32:22 +0800 | |
|---|---|---|
| committer | 2024-06-21 12:34:02 -1000 | |
| commit | 68f83057b913467a999e1bf9e0da6a119668f769 (patch) | |
| tree | 89bc42296c3e9110ccdcfff3bc9a5c30501057ac /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | workqueue: Avoid nr_active manipulation in grabbing inactive items (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 <vschneid@redhat.com>
Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
