Re: [PATCH v1] printk: Declare log_wait as external variable

From: John Ogness
Date: Wed Feb 12 2020 - 09:24:50 EST


On 2020-02-12, Petr Mladek <pmladek@xxxxxxxx> wrote:
> I would prefer to split it:
>
> + printk.c is already too big and would deserve splitting.
>
> + The two different kmgs interfaces are confusing on its
> own. IMHO, it will be even more confusing when they
> live in one huge source file.
>
>
>> I can take a look at dev_ksmg.c/proc_kmsg.c option, unless
>> someone else wants to spend their time on this.
>
> It would be lovely from my POV. I am only concerned about
> the lockless printk() stuff. I would prefer to avoid creating
> too many conflicts in the same merge window. Well, I am
> not sure how many conflicts there would be. Adding John
> into CC.

I would also love to see these changes. But can we _please_ focus on the
lockless printk ringbuffer merge first? The patches already exist and
are (hopefully) being reviewed. I would prefer that such a heavy API
replacement is done _before_ we start any massive refactoring.

John Ogness