Messages in this thread | | | Date | Wed, 9 Aug 2023 16:06:26 +0200 | From | Petr Mladek <> | Subject | Re: [PATCH printk v2 4/8] printk: nbcon: Add buffer management |
| |
On Fri 2023-07-28 02:08:29, John Ogness wrote: > From: Thomas Gleixner <tglx@linutronix.de> > > In case of hostile takeovers it must be ensured that the previous > owner cannot scribble over the output buffer of the emergency/panic > context. This is achieved by: > > - Adding a global output buffer instance for the panic context. > This is the only situation where hostile takeovers can occur and > there is always at most 1 panic context. > > - Allocating an output buffer per console upon console > registration. This buffer is used by the console owner when not > in panic context. > > - Choosing the appropriate buffer is handled in the acquire/release > functions. > > Co-developed-by: John Ogness <john.ogness@linutronix.de> > Signed-off-by: John Ogness <john.ogness@linutronix.de> > Signed-off-by: Thomas Gleixner (Intel) <tglx@linutronix.de>
Looks good to me:
Reviewed-by: Petr Mladek <pmladek@suse.com>
Best Regards, Petr
| |