Re: [PATCH] sched/debug: check p->se.on_rq for 'runnable tasks'

From: Zhu Yanhai
Date: Thu Sep 22 2016 - 23:15:29 EST


2016-09-22 18:08 GMT+08:00 Peter Zijlstra <peterz@xxxxxxxxxxxxx>:
> On Thu, Sep 22, 2016 at 05:50:53PM +0800, Zhu Yanhai wrote:
>> From: Zhu Yanhai <gaoyang.zyh@xxxxxxxxxx>
>>
>> I can't see why the check was removed by commit b32e86b4. Since it was not
>> relevant to the subject of the commit, I guess it was just a plain typo.
>
> No, it was very much on purpose. It shows all tasks now, which is much
> more useful if you want to generate pretty pictures from the output.
>
> Its a bit hard to make pretty pictures when tasks disappear all the
> time.

I see. Thanks for your quick reply!