All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Philipp Stanner <phasta@kernel.org>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] workqueue: Better document teardown for delayed_work
Date: Fri, 4 Apr 2025 08:48:30 -1000	[thread overview]
Message-ID: <Z_Apfln-x0RF2d2M@slm.duckdns.org> (raw)
In-Reply-To: <20250404101543.74262-2-phasta@kernel.org>

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@kernel.org>

Applied to wq/for-6.15-fixes.

Thanks.

-- 
tejun

      reply	other threads:[~2025-04-04 18:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-04 10:15 [PATCH v2] workqueue: Better document teardown for delayed_work Philipp Stanner
2025-04-04 18:48 ` Tejun Heo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z_Apfln-x0RF2d2M@slm.duckdns.org \
    --to=tj@kernel.org \
    --cc=jiangshanlai@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=phasta@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.