From: Petr Mladek <pmladek@suse.com>
To: "Qixuan.Wu" <qixuan.wu@linux.alibaba.com>
Cc: Steven Rostedt <rostedt@goodmis.org>,
linux-kernel-owner <linux-kernel-owner@vger.kernel.org>,
Jan Kara <jack@suse.cz>,
Sergey Senozhatsky <sergey.senozhatsky@gmail.com>,
Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>,
linux-kernel <linux-kernel@vger.kernel.org>,
"chenggang.qin" <chenggang.qin@linux.alibaba.com>,
caijingxian <caijingxian@linux.alibaba.com>,
"yuanliang.wyl" <yuanliang.wyl@alibaba-inc.com>
Subject: Re: Would you help to tell why async printk solution was not taken to upstream kernel ?
Date: Mon, 5 Mar 2018 14:29:56 +0100 [thread overview]
Message-ID: <20180305132956.mc4l3evgf6swqcuo@pathway.suse.cz> (raw)
In-Reply-To: <32058cbd-7d09-4316-afd9-c2f031a2a406.qixuan.wu@linux.alibaba.com>
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@goodmis.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
prev parent reply other threads:[~2018-03-05 13:30 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1eb584e2-a479-46dd-8a25-820da7a34e85.qixuan.wu@linux.alibaba.com>
2018-03-04 13:01 ` Sergey Senozhatsky
2018-03-04 15:08 ` Qixuan.Wu
2018-03-04 15:43 ` Steven Rostedt
2018-03-05 2:14 ` Sergey Senozhatsky
2018-03-05 20:45 ` Steven Rostedt
2018-03-06 2:00 ` Sergey Senozhatsky
2018-03-06 2:47 ` Steven Rostedt
2018-03-06 2:53 ` Sergey Senozhatsky
2018-03-06 3:16 ` Steven Rostedt
2018-03-06 8:10 ` Sergey Senozhatsky
2018-03-05 20:58 ` Steven Rostedt
2018-03-06 1:52 ` Sergey Senozhatsky
2018-03-06 2:43 ` Sergey Senozhatsky
2018-03-06 3:18 ` Steven Rostedt
2018-03-05 6:56 ` Qixuan.Wu
2018-03-05 13:29 ` Petr Mladek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180305132956.mc4l3evgf6swqcuo@pathway.suse.cz \
--to=pmladek@suse.com \
--cc=caijingxian@linux.alibaba.com \
--cc=chenggang.qin@linux.alibaba.com \
--cc=jack@suse.cz \
--cc=linux-kernel-owner@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=qixuan.wu@linux.alibaba.com \
--cc=rostedt@goodmis.org \
--cc=sergey.senozhatsky.work@gmail.com \
--cc=sergey.senozhatsky@gmail.com \
--cc=yuanliang.wyl@alibaba-inc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®