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

2018-12-13 Thread Sergey Senozhatsky
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

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

2018-12-13 Thread Petr Mladek
On Thu 2018-12-13 01:51:22, Liu, Chuansheng wrote: > Based on patch commit 401c636a0eeb ("kernel/hung_task.c: > show all hung tasks before panic"), we could get the > call stack of hung task. > > However, if the console loglevel is not high, we still > can not see the useful panic information in

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

2018-12-12 Thread Liu, Chuansheng
Based on patch commit 401c636a0eeb ("kernel/hung_task.c: show all hung tasks before panic"), we could get the call stack of hung task. However, if the console loglevel is not high, we still can not see the useful panic information in practice, and in most cases users don't set console loglevel to