Re: [PATCH] kernel/hung_task.c: export sysctl_hung_task_timeout_secs

From: Christoph Hellwig
Date: Fri Feb 16 2024 - 02:11:33 EST


On Thu, Feb 15, 2024 at 06:26:59PM -0500, Kent Overstreet wrote:
> There's a few places in the block layer that are using the sysctl value;
> those will be easy to fix. There's definitely more places abusing
> TASK_INTERRUPTIBLE, but aside from the ones in my code I can't think of
> a way to search for them.

I think any kthread that is woken using wake_up_process or a wait queue
is a good candidate.