lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2025113039-tycoon-glowworm-49f8@gregkh>
Date: Sun, 30 Nov 2025 09:30:53 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Lance Yang <lance.yang@...ux.dev>
Cc: Aaron Tomlin <atomlin@...mlin.com>, linux-kernel@...r.kernel.org,
	mhiramat@...nel.org, akpm@...ux-foundation.org,
	Petr Mladek <pmladek@...e.com>
Subject: Re: [PATCH] hung_task: Migrate hung_task_detect_count to sysfs

On Sun, Nov 30, 2025 at 01:43:51PM +0800, Lance Yang wrote:
> Hi Aaron,
> 
> Thanks for the patch.
> 
> On 2025/11/30 07:51, Aaron Tomlin wrote:
> > The hung_task_detect_count metric, which tracks the cumulative number of
> > tasks detected as hung since boot, is currently exposed via the legacy
> > /proc/sys/kernel/hung_task_detect_count sysctl file.
> > 
> > Migrate this metric to a read-only file in the /sys/kernel/ hierarchy:
> > /sys/kernel/hung_task_detect_count. The sysctl file is removed, and the
> > metric is now controlled by the CONFIG_SYSFS Kconfig option.
> 
> Emm, I don't think we should do this :)

I agree, because:

> Removing the sysctl file is going to break userspace tools that
> currently read it ...

We can't do that.

thanks,

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ