Re: [PATCH] hung_task: Differentiate between I/O and Lock/Resource waits

From: Aaron Tomlin

Date: Wed Jan 28 2026 - 14:14:02 EST


On Wed, Jan 28, 2026 at 05:17:49PM +0900, Masami Hiramatsu wrote:
> If this is only for human readability, I rather like just adding
> "in iowait" at the end. "D" state seems redundant, and "Lock/Resource"
> can mislead. What about something like below?
>
> pr_err("INFO: task %s:%d blocked for more than %ld seconds%s.\n",
> ..., t->in_iowait ? " in I/O wait" : "");
>

Hi Masami,

Thank you for your feedback.

I concur. I'll incorporate the suggestion.


Kind regards,
--
Aaron Tomlin

Attachment: signature.asc
Description: PGP signature