Re: [PATCH] printk/console: Enable console kthreads only when there is no boot console left

From: Linus Torvalds
Date: Mon Jun 20 2022 - 15:11:50 EST


On Mon, Jun 20, 2022 at 10:14 AM Petr Mladek <pmladek@xxxxxxxx> wrote:
>
> The console kthreads uncovered several races in console drivers.

I really want to make it clear that this was NOT some kind of "races
in drivers".

Console drivers may very well have intentionally avoided taking locks
for console output, since the printk output was supposed to be
serialized by printk.

Don't try to make this some kind of "buggy drivers" thing. This is on
printk, not on anything else.

Assuming this solves all issues, I'm ok with this approach, but I
really want this to be clearly about printk being buggy, no "blame the
drivers" garbage.

And if there are other issues coming up, we revert the whole thing entirely.

Because printk is too important to play games with, and too important
to try to blame drivers.

Linus