lkml.org 
[lkml]   [2018]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kernel/hung_task.c: force ignore_loglevel before panic
On (12/10/18 05:58), Liu, Chuansheng wrote:
> > On (12/10/18 05:40), Liu, Chuansheng wrote:
> > > @@ -130,6 +130,13 @@ static void check_hung_task(struct task_struct *t,
> > unsigned long timeout)
> > > init_utsname()->version);
> > > pr_err("\"echo 0 > /proc/sys/kernel/hung_task_timeout_secs\""
> > > " disables this message.\n");
> > > + /* When sysctl_hung_task_panic is set, we have to force
> > > + * ignore_loglevel to get really useful hung task
> > > + * information.
> > > + */
> > > + if (sysctl_hung_task_panic && !ignore_loglevel)
> > > + ignore_loglevel = true;
> >
> > console_verbose()?
>
> Thanks Sergey, it is really my need. I will prepare for a new version of patch:)

Let's wait for people to take a look at this patch first.

-ss

\
 
 \ /
  Last update: 2018-12-10 07:12    [W:0.076 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site