[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180914111953.GA20572@tigerII.localdomain>
Date: Fri, 14 Sep 2018 20:19:53 +0900
From: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
To: Petr Mladek <pmladek@...e.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>,
Steven Rostedt <rostedt@...dmis.org>,
linux-kernel@...r.kernel.org,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>
Subject: Re: [PATCH] printk: CON_PRINTBUFFER console registration is a bit
racy
On (09/14/18 10:59), Petr Mladek wrote:
>
> Well, I am not sure if it is worth the code complexity.
>
Well, I don't think we need to bother that much here. Besides,
exclusive_console is cleared under logbuf_lock with preemption
disabled now. So we set it under logbuf_lock and !irq and we
clear it under logbuf_lock and !irq. Looks quite OK to me.
-ss
Powered by blists - more mailing lists