Re: [PATCH v8 0/3] hung_task: Provide runtime reset interface for hung task detector

From: Lance Yang

Date: Sat Feb 07 2026 - 23:20:10 EST




On 2026/2/8 12:11, Lance Yang wrote:


On 2026/2/8 08:21, Aaron Tomlin wrote:
Hi Lance, Greg, Petr, Joel, Masami, Andrew,

This series introduces the ability to reset /proc/sys/kernel/ hung_task_detect_count.

Writing a "0" value to this file atomically resets the counter of detected
hung tasks. This functionality provides system administrators with the
means to clear the cumulative diagnostic history following incident
resolution, thereby simplifying subsequent monitoring without necessitating
a system restart.

Please let me know your thoughts.


Changes since v7 [1]:
  - Immediately update the global counter as soon as a hung task is
    detected (Petr Mladek)
  - Added Reviewed-by: tag from Masami Hiramatsu and Aaron Tomlin

Looks like you forgot to include Petr's RB on #01 and #02 ... IIRC

But no need to resend this series - Andrew could add them when applying ;p