Re: [PATCH V2] kernel/hung_task.c: Force console verbose before panic

From: Sergey Senozhatsky
Date: Thu Dec 13 2018 - 07:41:01 EST


On (12/13/18 01:51), Liu, Chuansheng wrote:
> V1: console_verbose() is used instead of ignore_loglevel,
> suggested by Sergey.
> Tweak the function check_hung_task() suggested by
> Tetsuo to make code more readable.
>
> V2: Petr suggests to make 2 patches:
> One is addressing console_verbose() only, which is
> this patch's aim.
> The other is about forcing sched_show_task() during
> panic, which needs more discussion yet.
>
> Cc: Sergey Senozhatsky <sergey.senozhatsky.work@xxxxxxxxx>
> Cc: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>
> Cc: Petr Mladek <pmladek@xxxxxxxx>
> Signed-off-by: Chuansheng Liu <chuansheng.liu@xxxxxxxxx>

Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>

-ss