Messages in this thread |  | | Date | Wed, 3 Oct 2018 11:23:01 +0200 | From | Petr Mladek <> | Subject | Re: [PATCH] printk: Do not miss new messages when replaying the log |
| |
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
|  |