Re: [PATCH v2] workqueue: Better document teardown for delayed_work
From: Tejun Heo
Date: Fri Apr 04 2025 - 14:48:38 EST
On Fri, Apr 04, 2025 at 12:15:44PM +0200, Philipp Stanner wrote:
> destroy_workqueue() does not ensure that non-pending work submitted with
> queue_delayed_work() gets cancelled. The caller has to ensure that
> manually.
>
> Add this information about delayed_work in destroy_workqueue()'s
> docstring.
>
> Add a TODO for destroy_workqueue() to wait for all delayed_work.
>
> Signed-off-by: Philipp Stanner <phasta@xxxxxxxxxx>
Applied to wq/for-6.15-fixes.
Thanks.
--
tejun