[GIT PULL] workqueue: Fixes for v7.0-rc3

From: Tejun Heo

Date: Fri Mar 13 2026 - 16:32:54 EST


Hello,

The following changes since commit c107785c7e8dbabd1c18301a1c362544b5786282:

Merge tag 'modules-7.0-rc3.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux (2026-03-04 15:42:24 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git tags/wq-for-7.0-rc3-fixes

for you to fetch changes up to 98c790b100764102d877e9339471b8c4c9233f2c:

workqueue: Rename show_cpu_pool{s,}_hog{s,}() to reflect broadened scope (2026-03-06 06:38:16 -1000)

----------------------------------------------------------------
workqueue: Fixes for v7.0-rc3

- Improve workqueue stall diagnostics: dump all busy workers (not just
running ones), show wall-clock duration of in-flight work items, and
add a sample module for reproducing stalls.

- Fix POOL_BH vs WQ_BH flag namespace mismatch in pr_cont_worker_id().

- Rename pool->watchdog_ts to pool->last_progress_ts and related
functions for clarity.

----------------------------------------------------------------
Breno Leitao (6):
workqueue: Use POOL_BH instead of WQ_BH when checking pool flags
workqueue: Rename pool->watchdog_ts to pool->last_progress_ts
workqueue: Show in-flight work item duration in stall diagnostics
workqueue: Show all busy workers in stall diagnostics
workqueue: Add stall detector sample module
workqueue: Rename show_cpu_pool{s,}_hog{s,}() to reflect broadened scope

kernel/workqueue.c | 55 ++++++++--------
kernel/workqueue_internal.h | 1 +
samples/workqueue/stall_detector/Makefile | 1 +
samples/workqueue/stall_detector/wq_stall.c | 98 +++++++++++++++++++++++++++++
4 files changed, 128 insertions(+), 27 deletions(-)
create mode 100644 samples/workqueue/stall_detector/Makefile
create mode 100644 samples/workqueue/stall_detector/wq_stall.c

Thanks.

--
tejun