On Mon, 2017-09-04 at 14:22 +0900, Sergey Senozhatsky wrote: > there is only way to serialize printks against other printks -- take > the logbuf lock.
If that's really necessary, instead make that logbuf_lock a public interface and keep the rest of the code simple. I think it's more important to get printk to work reliably than keep expanding the number of lines possible to buffer.