Re: [PATCH] freezer,sched: Report TASK_FROZEN tasks as TASK_UNINTERRUPTIBLE

From: Peter Zijlstra
Date: Tue Oct 24 2023 - 10:39:24 EST


On Mon, Oct 23, 2023 at 09:57:35PM +0800, Liangliang Li wrote:
> TASK_FROZEN is not in TASK_REPORT, thus a frozen task will appear as
> state == 0, IOW TASK_RUNNING.
>
> Fix this by make TASK_FROZEN appear as TASK_UNINTERRUPTIBLE, thus we
> dont need to imply a new state to userspace tools.

Who or what is seeing this and caring about the result?