[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ns5suocv4rhtqfz2spetk373sdi5wp2ygsnuphe7krdffikgmb@tjuhqnrxfjfu>
Date: Mon, 22 Dec 2025 20:27:21 -0500
From: Aaron Tomlin <atomlin@...mlin.com>
To: Lance Yang <lance.yang@...ux.dev>
Cc: sean@...e.io, linux-kernel@...r.kernel.org, pmladek@...e.com,
joel.granados@...nel.org, gregkh@...uxfoundation.org, akpm@...ux-foundation.org,
mhiramat@...nel.org
Subject: Re: [v4 PATCH 2/2] hung_task: Enable runtime reset of
hung_task_detect_count
On Mon, Dec 22, 2025 at 10:21:31AM +0800, Lance Yang wrote:
> Hmm, I think we're missing the same underflow check here ...
>
> If reset happens mid-scan, it can also underflow and cause
> false positives in the diagnostics :)
>
> we should apply the same "if (current < prev) use current" logic
> here as Petr metioned before.
Hi Lance,
You are quite right; that was an oversight on my part. The underflow check
was indeed omitted in error.
Kind regards,
--
Aaron Tomlin
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists