Re: [PATCH v4 1/2] hung_task: Show the blocker task if the task is hung on mutex

From: Waiman Long
Date: Wed Mar 05 2025 - 22:10:28 EST


On 3/5/25 10:07 PM, Waiman Long wrote:


On 3/5/25 9:32 PM, Masami Hiramatsu (Google) wrote:
+config DETECT_HUNG_TASK_BLOCKER
+ bool "Dump Hung Tasks Blocker"
+ depends on DETECT_HUNG_TASK
+ depends on !PREEMPT_RT
+ default y
+ help
+ Say Y here to show the blocker task's stacktrace who acquires
+ the mutex lock which "hung tasks" are waiting.
+ This will add overhead a bit but shows suspicious tasks and
+ call trace if it comes from waiting a mutex.
+
config WQ_WATCHDOG
bool "Detect Workqueue Stalls"
depends on DEBUG_KERNEL

Reviewed-by: Waiman Long<longman@xxxxxxxxxx>

Thanks Waiman! BTW, who will pick this patch?
Andrew, could you pick this series?

Peter, do you mind routing this patch via Andrew?

Resend as plain text.

Regards,
Longman