lkml.org 
[lkml]   [2018]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2018-10-03 11:23    [W:0.029 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site