[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <700d4bae-0565-4eac-b609-073e9893286d@linux.dev>
Date: Tue, 9 Dec 2025 12:54:14 +0800
From: Lance Yang <lance.yang@...ux.dev>
To: Aaron Tomlin <atomlin@...mlin.com>
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 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.
Is the new file really necessary? I'd perfer if we just made the
existing hung_task_detect_count writable ;)
Just let users echo 0 (or anything) to reset it, and make sure to
update the documentation as well.
Cheers,
Lance
Powered by blists - more mailing lists