[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180305132956.mc4l3evgf6swqcuo@pathway.suse.cz>
Date: Mon, 5 Mar 2018 14:29:56 +0100
From: Petr Mladek <pmladek@...e.com>
To: "Qixuan.Wu" <qixuan.wu@...ux.alibaba.com>
Cc: Steven Rostedt <rostedt@...dmis.org>,
linux-kernel-owner <linux-kernel-owner@...r.kernel.org>,
Jan Kara <jack@...e.cz>,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
"chenggang.qin" <chenggang.qin@...ux.alibaba.com>,
caijingxian <caijingxian@...ux.alibaba.com>,
"yuanliang.wyl" <yuanliang.wyl@...baba-inc.com>
Subject: Re: Would you help to tell why async printk solution was not taken
to upstream kernel ?
On Mon 2018-03-05 14:56:59, Qixuan.Wu wrote:
> Hi Steve,
>
> On Sun, 04 Mar 2018 23:43:23 +0800
> Steven Rostedt <rostedt@...dmis.org> wrote:
>
> > Yes, people keep bringing up this scenario.
> > It would require a single burst of printks to all CPUs. And then no
> > more printks after that. The last one will end up printing the entire
> > buffer out the slow console. The thing is, this is a bounded time, and
> > no printk will print more than one full buffer worth.
>
> > If this is a worry, then set the timeouts for the lockup detection to
> > be longer than the time it takes to print one full buffer with the
> > slowest console.
>
> Thanks for your information and suggestion. We will think of backport
> the code as per the workload, or recently, maybe we will think of disable
> ttyS0 console just for the printk.
Please, share the log if you still see a soft/hard lockups with the 4
commits (console waiter logic). It would help to improve the solution.
We need some justification to make the printk code more complicated.
Also many possible solutions might improve some scenarios and make
worse some others. Therefore we need data to make decisions.
Best Regards,
Petr
Powered by blists - more mailing lists