Re: [PATCH 1/4] printk: Introduce per-console loglevel setting

2019-03-20 Thread Petr Mladek
On Thu 2019-03-14 23:12:49, Tetsuo Handa wrote: > Petr Mladek wrote: > > It might be even more straightforward when the per-console value > > defines the effective console level. I mean the following semantic: > > > >+ "console_loglevel" would define the default loglevel used > > by conso

Re: [PATCH 1/4] printk: Introduce per-console loglevel setting

2019-03-14 Thread Tetsuo Handa
Petr Mladek wrote: > It might be even more straightforward when the per-console value > defines the effective console level. I mean the following semantic: > >+ "console_loglevel" would define the default loglevel used > by consoles at runtime. > >+ the per-console loglevel could ove

Re: [PATCH 1/4] printk: Introduce per-console loglevel setting

2019-03-12 Thread Calvin Owens
On Friday 03/08 at 12:10 +0900, Sergey Senozhatsky wrote: > On (03/01/19 16:48), Calvin Owens wrote: > [..] > > msg = log_from_idx(console_idx); > > - if (suppress_message_printing(msg->level)) { > > - /* > > -* Skip record we have buffere

Re: [PATCH 1/4] printk: Introduce per-console loglevel setting

2019-03-08 Thread Petr Mladek
On Fri 2019-03-01 16:48:17, Calvin Owens wrote: > Not all consoles are created equal: depending on the actual hardware, > the latency of a printk() call can vary dramatically. The worst examples > are serial consoles, where it can spin for tens of milliseconds banging > the UART to emit a message,

Re: [PATCH 1/4] printk: Introduce per-console loglevel setting

2019-03-07 Thread Sergey Senozhatsky
On (03/01/19 16:48), Calvin Owens wrote: [..] > msg = log_from_idx(console_idx); > - if (suppress_message_printing(msg->level)) { > - /* > - * Skip record we have buffered and already printed > - * directly to t

[PATCH 1/4] printk: Introduce per-console loglevel setting

2019-03-01 Thread Calvin Owens
Not all consoles are created equal: depending on the actual hardware, the latency of a printk() call can vary dramatically. The worst examples are serial consoles, where it can spin for tens of milliseconds banging the UART to emit a message, which can cause application-level problems when the kern