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

2018-10-21 Thread Sergey Senozhatsky
On (10/19/18 22:03), Calvin Owens wrote: > Hi Sergey, > > It's in-progress, I'm sorry it hasn't happened sooner. Great! > By embedding the kobject in the console struct, we end up needing to refactor > the console drivers to use the kobject refcount instead of simply calling > kfree(), which is

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

2018-10-19 Thread Calvin Owens
On Friday 10/19 at 09:04 +0900, Sergey Senozhatsky wrote: > On (09/28/17 17:43), 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

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

2018-10-18 Thread Sergey Senozhatsky
On (09/28/17 17:43), 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, which c

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

2017-11-03 Thread Steven Rostedt
On Fri, 3 Nov 2017 13:00:05 +0100 Petr Mladek wrote: > On Thu 2017-09-28 17:43:55, Calvin Owens wrote: > > This patch introduces a new per-console loglevel setting, and changes > > console_unlock() to use max(global_level, per_console_level) when > > deciding whether or not to emit a given log me

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

2017-11-03 Thread Petr Mladek
On Thu 2017-09-28 17:43:55, Calvin Owens wrote: > This patch introduces a new per-console loglevel setting, and changes > console_unlock() to use max(global_level, per_console_level) when > deciding whether or not to emit a given log message. > diff --git a/include/linux/console.h b/include/linux/

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

2017-10-20 Thread Calvin Owens
On 10/20/2017 01:05 AM, Petr Mladek wrote: On Thu 2017-10-19 16:40:45, Calvin Owens wrote: On 09/28/2017 05:43 PM, 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 consol

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

2017-10-20 Thread Petr Mladek
On Thu 2017-10-19 16:40:45, Calvin Owens wrote: > On 09/28/2017 05:43 PM, 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 mi

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

2017-10-19 Thread Calvin Owens
On 09/28/2017 05:43 PM, 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, which can