Re: [PATCH 2/2] hung_task: Always print basic hung task info header

Lance Yang <[email protected]> Tue, 4 Aug 2026 11:19:59 +0800
Newsgroups gmane.linux.kernel
Message-ID <[email protected]>
On Mon, Aug 03, 2026 at 08:15:42PM -0400, Aaron Tomlin wrote:
>From: Petr Mladek <[email protected]>
>
>Currently, hung_task_info() completely suppresses any warning messages
>once the warning budget is reached. This leaves the system completely
>blind to any future hung tasks, even though we only wanted to suppress
>heavy process stack dumps.
>
>Modify hung_task_info() to always print the basic single-line error message
>about a hung task, regardless of whether the warning budget has been
>exhausted. Restrict only the verbose details (such as stack dumps,
>taint/release status, and blockers) to when the warning budget is intact
>or panic is triggered.
>
>Additionally, update the notice printed upon warning exhaustion to clarify
>that future reports will only omit process details rather than being completely
>suppressed.
>
>Assisted-by: gemini-3.5-flash
>Signed-off-by: Petr Mladek <[email protected]>
>---

Reviewed-by: Lance Yang <[email protected]>