Re: [PATCH v2] workqueue: dump the last woken worker for stalled pools
From: Tejun Heo
Date: Wed Jul 01 2026 - 14:03:32 EST
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