Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1550878 > unrolled thread

Re: [PATCHv7 5/8] printk: report lost messages in printk safe/nmi contexts

Started byPetr Mladek <pmladek@suse.com>
First post2017-01-04 15:50 +0100
Last post2017-01-05 02:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCHv7 5/8] printk: report lost messages in printk safe/nmi  contexts Petr Mladek <pmladek@suse.com> - 2017-01-04 15:50 +0100
    Re: [PATCHv7 5/8] printk: report lost messages in printk safe/nmi  contexts Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-01-05 02:10 +0100

#1550878 — Re: [PATCHv7 5/8] printk: report lost messages in printk safe/nmi contexts

FromPetr Mladek <pmladek@suse.com>
Date2017-01-04 15:50 +0100
SubjectRe: [PATCHv7 5/8] printk: report lost messages in printk safe/nmi contexts
Message-ID<sVV34-5Z1-21@gated-at.bofh.it>
On Tue 2016-12-27 23:16:08, Sergey Senozhatsky wrote:
> Account lost messages in pritk-safe and printk-safe-nmi
> contexts and report those numbers during printk_safe_flush().
> 
> The patch also moves lost message counter to struct
> `printk_safe_seq_buf' instead of having dedicated static
> counters - this simplifies the code.
> 
> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>

I like that the handling is localized in printk_safe.c and that
the warning is printed right after the messages that fit the buffer.

Reviewed-by: Petr Mladek <pmladek@suse.com>

Best Regards,
Petr

[toc] | [next] | [standalone]


#1551538

FromSergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Date2017-01-05 02:10 +0100
Message-ID<sW4J3-47A-5@gated-at.bofh.it>
In reply to#1550878
On (01/04/17 15:46), Petr Mladek wrote:
> On Tue 2016-12-27 23:16:08, Sergey Senozhatsky wrote:
> > Account lost messages in pritk-safe and printk-safe-nmi
> > contexts and report those numbers during printk_safe_flush().
> > 
> > The patch also moves lost message counter to struct
> > `printk_safe_seq_buf' instead of having dedicated static
> > counters - this simplifies the code.
> > 
> > Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
> 
> I like that the handling is localized in printk_safe.c and that
> the warning is printed right after the messages that fit the buffer.
> 
> Reviewed-by: Petr Mladek <pmladek@suse.com>

thanks.

	-ss

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web