]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
workqueue: Rename show_cpu_pool{s,}_hog{s,}() to reflect broadened scope
authorBreno Leitao <leitao@debian.org>
Fri, 6 Mar 2026 10:46:42 +0000 (02:46 -0800)
committerTejun Heo <tj@kernel.org>
Fri, 6 Mar 2026 16:38:16 +0000 (06:38 -1000)
commit98c790b100764102d877e9339471b8c4c9233f2c
treec7657e6ef4384f260b01481d2f4b90e1744dcab1
parent9e83d5104a70d8545bad61a77e166190d9447e1d
workqueue: Rename show_cpu_pool{s,}_hog{s,}() to reflect broadened scope

show_cpu_pool_hog() and show_cpu_pools_hogs() no longer only dump CPU
hogs — since commit 8823eaef45da ("workqueue: Show all busy workers in
stall diagnostics"), they dump every in-flight worker in the pool's
busy_hash.

Rename them to show_cpu_pool_busy_workers() and
show_cpu_pools_busy_workers() to accurately describe what they do.

Also fix the pr_info() message to say "stalled worker pools" instead of
"stalled CPU-bound worker pools", since sleeping/blocked workers are now
included.

No functional change.

Suggested-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c