All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: linux-kernel@vger.kernel.org
Cc: Lai Jiangshan <jiangshanlai@gmail.com>,
	Breno Leitao <leitao@debian.org>,
	stable@vger.kernel.org
Subject: Re: [PATCH wq/for-7.4-fixes] workqueue: Fix drain_workqueue() missing work items chained across pwqs
Date: Mon, 02 Nov 2026 08:21:33 -1000	[thread overview]
Message-ID: <36ebbc359b76693fcbeecbfdbed5ca41@kernel.org> (raw)
In-Reply-To: <20261030164210.3735018-1-tj@kernel.org>

Applied to wq/for-7.4-fixes with the following tag added:

  Reviewed-by: Breno Leitao <leitao@debian.org>

With this patch, a work item that keeps re-queueing itself forever
makes drain_workqueue() loop forever. The current code can escape that
through this race, but the escape still trips the WARN in
destroy_workqueue() and leaks the workqueue.

Thanks.

--
tejun

      parent reply	other threads:[~2026-11-02 18:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-30 16:42 [PATCH wq/for-7.4-fixes] workqueue: Fix drain_workqueue() missing work items chained across pwqs Tejun Heo
2026-11-02 10:59 ` Breno Leitao
2026-11-02 18:21 ` 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=36ebbc359b76693fcbeecbfdbed5ca41@kernel.org \
    --to=tj@kernel.org \
    --cc=jiangshanlai@gmail.com \
    --cc=leitao@debian.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@vger.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.