Re: [PATCH v2 2/2] sched: print parent comm in sched_show_task()

From: Chen Yu
Date: Thu Feb 09 2023 - 11:22:35 EST


On 2023-01-31 at 16:10:26 +0800, Tio Zhang wrote:
> Knowing who the parent is might be useful for debugging.
> For example, we can sometimes resolve kernel hung tasks by stopping
> the person who begins those hung tasks.
> With the parent's name printed in sched_show_task(),
> it might be helpful to let people know which "service" should be operated.
> Also, we move the parent info to a following new line.
> It would better solve the situation when the task
s/would better/would be better/
> is not alive and we could not get information about the parent.
>
> Signed-off-by: Tio Zhang <tiozhang@xxxxxxxxxxxxxx>
>
Looks ok to me,
Tested-by: Chen Yu <yu.c.chen@xxxxxxxxx>

thanks,
Chenyu