The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Breno Leitao <leitao@debian.org>, Lai Jiangshan <jiangshanlai@gmail.com>
Cc: linux-kernel@vger.kernel.org, david.dai@linux.dev,
	kernel-team@meta.com, Petr Mladek <pmladek@suse.com>
Subject: Re: [PATCH v2] workqueue: dump the last woken worker for stalled pools
Date: Wed, 01 Jul 2026 08:01:03 -1000	[thread overview]
Message-ID: <fc506b5297bf0d7f75dcdcf4e9d136e7@kernel.org> (raw)
In-Reply-To: <20260701-rest_petr-v2-1-9431de53836e@debian.org>

On Wed, Jul 01, 2026 at 04:05:00AM -0700, Breno Leitao wrote:
> To identify the task most likely responsible for a stall, add
> last_woken_worker (L: pool->lock) to worker_pool and record it in
> kick_pool() just before wake_up_process().  This captures the idle
> worker that was kicked to take over when the last running worker went to
> sleep; if the pool is now stuck with no running worker, that task is the
> prime suspect and its backtrace is dumped by show_pool_no_running_worker().
...

Applied to wq/for-7.3.

Thanks.

--
tejun

      reply	other threads:[~2026-07-01 18:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-01 11:05 [PATCH v2] workqueue: dump the last woken worker for stalled pools Breno Leitao
2026-07-01 18:01 ` 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=fc506b5297bf0d7f75dcdcf4e9d136e7@kernel.org \
    --to=tj@kernel.org \
    --cc=david.dai@linux.dev \
    --cc=jiangshanlai@gmail.com \
    --cc=kernel-team@meta.com \
    --cc=leitao@debian.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmladek@suse.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox