Re: Worker threads in D state since c5a94a618e7ac86 (workqueue: Use TASK_IDLE)

From: Tejun Heo
Date: Mon Sep 11 2017 - 09:11:37 EST


Hello,

On Sun, Sep 10, 2017 at 09:36:53AM +0200, Markus Trippelsdorf wrote:
> Since:
>
> commit c5a94a618e7ac86b20f53d947f68d7cee6a4c6bc
> Author: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Date: Wed Aug 23 13:58:44 2017 +0200
>
> workqueue: Use TASK_IDLE
>
>
> all worker threads are in D state. They all show up when using "magic
> SysRq w". In htop they all have big fat red 'D' in the state column.
> Is this really desirable?
>
> I have attached the output of "ps aux" after boot and the SysRq-w
> output.

Hmm.... looks like we better revert until we figure out how this
should get presented in debugging facilities / to userspace. Peter?

Thanks.

--
tejun