workqueue: Add destroy_work_on_stack() in workqueue_softirq_dead()
PATCH 1/1 workqueue: Add destroy_work_on_stack() in workqueue_softirq_dead()
This commit add missed destroy_work_on_stack() operations for dead_work.work.
Signed-off-by Zqiang <[email protected]>
--- kernel/workqueue.c | 1 + 1 file changed, 1 insertion(+)
kernel/workqueue.c +1 -0
@@ -3661,6 +3661,7 @@ void workqueue_softirq_dead(unsigned int cpu)queue_work (system_bh_wq, &dead_work.work);wait_for_completion (&dead_work.done); +destroy_work_on_stack (&dead_work.work); } }
Signature · 1 line
2.17.1
Quoted 4 lines · Zqiang
This commit add missed
destroy_work_on_stack()operations for dead_work.work.Signed-off-by Zqiang <[email protected]>
Applied to wq/for-6.10.
Thanks.
Signature · 1 line
tejun