Re: [RFC PATCH v4 0/9] printk: new ringbuffer implementation

Sergey Senozhatsky
2019-09-06T19:54:04Z

On (09/06/19 16:01), Peter Zijlstra wrote:
> > 2. The simple approach works only with lockless consoles. We need
> > something else for the rest at least for NMI. Simle offloading
> > to a kthread has been blocked for years. People wanted the
> > trylock-and-flush-immediately approach.
>
> Have an irq_work to wake up a kthread that will print to shit consoles.

Do we need sched dependency? We can print a batch of pending
logbuf messages and queue another irw_work if there are more
pending messages, right?

-ss