Re: printk meeting at LPC 2022

From: Linus Torvalds
Date: Fri Sep 23 2022 - 11:16:53 EST


On Fri, Sep 23, 2022 at 7:49 AM John Ogness <john.ogness@xxxxxxxxxxxxx> wrote:
>
> - Printing the backlog is important! If some emergency situation occurs,
> make sure the backlog gets printed.

Yeah, I really liked the notion of doing the oops with just filling
the back buffer but still getting it printed out if something goes
wrong in the middle.

That said, I'm sure we can tweak the exact "how much of the back log
we print" if there are any real life issues that look even remotely
like the demo did.

It's not like you couldn't do a "skipping lines" message if there are
thousands of old non-emergency lines in the back buffer, and
prioritize getting the recent ones out first.

I doubt it ends up being an issue in practice, but basically I wanted
to just pipe up and say that the exact details of how much of the back
buffer needs to be flushed first _could_ be tweaked if it ever does
come up as an issue.

Linus