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: <97918424-6fc7-43a8-9301-20cc39573251@linux.dev>
Date: Sun, 8 Feb 2026 12:13:13 +0800
From: Lance Yang <lance.yang@...ux.dev>
To: Aaron Tomlin <atomlin@...mlin.com>, pmladek@...e.com
Cc: neelx@...e.com, sean@...e.io, mproche@...il.com, chjohnst@...il.com,
 nick.lange@...il.com, linux-kernel@...r.kernel.org,
 gregkh@...uxfoundation.org, mhiramat@...nel.org, akpm@...ux-foundation.org,
 joel.granados@...nel.org
Subject: Re: [PATCH v8 3/3] hung_task: Increment the global counter
 immediately



On 2026/2/8 08:21, Aaron Tomlin wrote:
> From: Petr Mladek <pmladek@...e.com>
> 
> A recent change allowed to reset the global counter of hung tasks using
> the sysctl interface. A potential race with the regular check has been
> solved by updating the global counter only once at the end of the check.
> 
> However, the hung task check can take a significant amount of time,
> particularly when task information is being dumped to slow serial
> consoles. Some users monitor this global counter to trigger immediate
> migration of critical containers. Delaying the increment until the
> full check completes postpones these high-priority rescue operations.
> 
> Update the global counter as soon as a hung task is detected. Since
> the value is read asynchronously, a relaxed atomic operation is
> sufficient.
> 
> Reported-by: Lance Yang <lance.yang@...ux.dev>
> Closes: https://lore.kernel.org/r/f239e00f-4282-408d-b172-0f9885f4b01b@linux.dev
> Reviewed-by: Aaron Tomlin <atomlin@...mlin.com>
> Signed-off-by: Petr Mladek <pmladek@...e.com>
> ---

Looks good to me, so:

Reviewed-by: Lance Yang <lance.yang@...ux.dev>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ