Re: [PATCH printk-rework 11/12] printk: remove logbuf_lock

2021-02-02 Thread Petr Mladek
On Tue 2021-02-02 12:47:20, John Ogness wrote: > On 2021-02-02, Petr Mladek wrote: > > On Tue 2021-01-26 22:21:50, John Ogness wrote: > >> Since the ringbuffer is lockless, there is no need for it to be > >> protected by @logbuf_lock. Remove @logbuf_lock. > >> > >> This means that printk_nmi_dire

Re: [PATCH printk-rework 11/12] printk: remove logbuf_lock

2021-02-02 Thread John Ogness
On 2021-02-02, Petr Mladek wrote: > On Tue 2021-01-26 22:21:50, John Ogness wrote: >> Since the ringbuffer is lockless, there is no need for it to be >> protected by @logbuf_lock. Remove @logbuf_lock. >> >> This means that printk_nmi_direct and printk_safe_flush_on_panic() >> no longer need to ac

Re: [PATCH printk-rework 11/12] printk: remove logbuf_lock

2021-02-02 Thread Petr Mladek
On Tue 2021-01-26 22:21:50, John Ogness wrote: > Since the ringbuffer is lockless, there is no need for it to be > protected by @logbuf_lock. Remove @logbuf_lock. > > This means that printk_nmi_direct and printk_safe_flush_on_panic() > no longer need to acquire any lock to run. > > @console_seq,