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

From: Google
Date: Wed Mar 12 2025 - 23:55:43 EST


On Wed, 5 Mar 2025 22:10:10 -0500
Waiman Long <llong@xxxxxxxxxx> wrote:

> 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?

Gently ping.

Thank you,

> >
> Resend as plain text.
>
> Regards,
> Longman
>


--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>