Re: [RFC][PATCH 2/3] printk: lock/unlock console only for new logbuf entries

From: Sergey Senozhatsky
Date: Tue Oct 09 2018 - 08:35:18 EST


On (10/09/18 10:39), Petr Mladek wrote:
> >
> > Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
> > ---
> > kernel/printk/printk.c | 10 +++++++---
> > 1 file changed, 7 insertions(+), 3 deletions(-)
>
> The patch makes perfect sense. It looks a bit hacky but I can't
> think about any less hacky one.
>
> I wonder if it is worth it. But if nobody else is against it
> I am going to push it.

Well, getting to buffered printk may take some time; so I'd probably
apply it, shouldn't hurt :)

-ss