[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <pb5eqoljmazc2tr62tn6njbo4cjgwq2ghlinyghtrtzfjev57b@3ggc2opalfcn>
Date: Tue, 9 Dec 2025 17:06:06 -0500
From: Aaron Tomlin <atomlin@...mlin.com>
To: Lance Yang <lance.yang@...ux.dev>
Cc: sean@...e.io, linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
mhiramat@...nel.org, gregkh@...uxfoundation.org
Subject: Re: [PATCH 2/2] hung_task: Provide runtime reset interface for hung
task detector
On Tue, Dec 09, 2025 at 12:54:14PM +0800, Lance Yang wrote:
> On 2025/12/9 12:12, Aaron Tomlin wrote:
> > This patch introduces a new write-only sysfs file,
> > hung_task_detect_count_reset, directly under /sys/kernel/.
> > This file exposes an explicit control point for resetting the
> > /proc/sys/kernel/hung_task_detect_count counter.
Hi Lance,
> Is the new file really necessary? I'd perfer if we just made the
> existing hung_task_detect_count writable ;)
Acknowledged. The primary motivation here was initiating a migration away
from the legacy procfs interface.
> Just let users echo 0 (or anything) to reset it, and make sure to
> update the documentation as well.
Understood. I will send a v2.
Kind regards,
--
Aaron Tomlin
Powered by blists - more mailing lists