Re: [PATCH] kernel/hung_task: Add a whitelist and blacklist mechanism.

From: Tetsuo Handa
Date: Sun Apr 18 2021 - 22:39:57 EST


On 2021/04/19 11:22, 周传高 wrote:
> Some SOC vendors' drivers or user-mode processes may be in D state for a long time,
> and normally they do not configure HUNG TASK, so we need to ignore these tasks if
> we use HUNG TASK.

Isn't that a sign that the quality of the drivers and user-mode processes is poor?
Wait should be killable/interruptible if possible (for better response to e.g. OOM-killer).