Re: [v5 PATCH 2/2] hung_task: Enable runtime reset of hung_task_detect_count
From: Aaron Tomlin
Date: Wed Jan 14 2026 - 21:20:57 EST
On Mon, Jan 12, 2026 at 10:43:35PM +0800, Lance Yang wrote:
> In general, the POC makes a lot of sense ;)
>
> The acquire/release pairing is now straightforward:
> - _read_acquire at start
> - local counting (no atomics)
> - _cmpxchg_release at end
>
> And yeah, if cmpxchg fails, we simply do not count this round,
> which is reasonable behavior.
>
> So, Aaron, can you take care of refactoring/testing based on
> Petr's approach?
Hi Lance,
Sure!
--
Aaron Tomlin
Attachment:
signature.asc
Description: PGP signature