From: Petr Mladek <pmladek@suse.com>
To: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>,
Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>,
Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] printk: Do not miss new messages when replaying the log
Date: Wed, 3 Oct 2018 11:23:01 +0200 [thread overview]
Message-ID: <20181003092301.n5qazxuvjadlbkel@pathway.suse.cz> (raw)
In-Reply-To: <20180913123406.14378-1-pmladek@suse.com>
On Thu 2018-09-13 14:34:06, Petr Mladek wrote:
> The variable "exclusive_console" is used to reply all existing messages
> on a newly registered console. It is cleared when all messages are out.
>
> The problem is that new messages might appear in the meantime. These
> are then visible only on the exclusive console.
>
> The obvious solution is to clear "exclusive_console" after we replay
> all messages that were already proceed before we started the reply.
>
> Reported-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
> Signed-off-by: Petr Mladek <pmladek@suse.com>
> Acked-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
JFYI, I have pushed this into printk.git, for-4.20 branch.
Best Regards,
Petr
prev parent reply other threads:[~2018-10-03 9:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-13 12:34 Petr Mladek
2018-10-03 9:23 ` 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=20181003092301.n5qazxuvjadlbkel@pathway.suse.cz \
--to=pmladek@suse.com \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=sergey.senozhatsky.work@gmail.com \
--cc=sergey.senozhatsky@gmail.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®