Re: [PATCH v2 2/2] hung_task: Enable runtime reset of hung_task_detect_count

From: Aaron Tomlin

Date: Mon Dec 15 2025 - 18:38:11 EST


On Thu, Dec 11, 2025 at 01:14:38PM +0800, Lance Yang wrote:
> Since the intent is "any write resets to zero", we could skip parsing
> the input entirely (untested):
>
> WRITE_ONCE(sysctl_hung_task_detect_count, 0);
> *ppos += *lenp;
> return 0;
>

Hi Lance,

Acknowledged. I will simply test for a 'write' operation.


Kind regards,
--
Aaron Tomlin