Re: [PATCH] kernel/hung_task.c: force ignore_loglevel before panic

From: Sergey Senozhatsky
Date: Mon Dec 10 2018 - 05:30:37 EST


On (12/10/18 18:58), Tetsuo Handa wrote:
> >>>> + */
> >>>> + 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.


> Shouldn't console_verbose() be called like
>
> + if (sysctl_hung_task_panic)
> + console_verbose();

Sure, that was what I meant. IOW console_verbose() instead of
`ignore_loglevel = true' assignment.

-ss