Re: [PATCH printk v4 05/17] printk: nbcon: Init @nbcon_seq to highest possible

From: Petr Mladek
Date: Tue Aug 27 2024 - 08:29:17 EST


On Tue 2024-08-27 06:49:21, John Ogness wrote:
> When initializing an nbcon console, have nbcon_alloc() set
> @nbcon_seq to the highest possible sequence number. For all
> practical purposes, this will guarantee that the console
> will have nothing to print until later when @nbcon_seq is
> set to the proper initial printing value.
>
> This will be particularly important once kthread printing is
> introduced because nbcon_alloc() can create/start the kthread
> before the desired initial sequence number is known.
>
> Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr