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

From: Peter Zijlstra
Date: Thu Sep 22 2016 - 06:08:55 EST


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.