[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y3+FEe7szf67kGKc@alley>
Date: Thu, 24 Nov 2022 15:52:01 +0100
From: Petr Mladek <pmladek@...e.com>
To: John Ogness <john.ogness@...utronix.de>
Cc: Sergey Senozhatsky <senozhatsky@...omium.org>,
Steven Rostedt <rostedt@...dmis.org>,
Thomas Gleixner <tglx@...utronix.de>,
linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH printk v2 4/7] printk: Add struct console_buffers
On Thu 2022-11-24 00:19:57, John Ogness wrote:
> From: Thomas Gleixner <tglx@...utronix.de>
>
> Create a data structure to replace the open coded separate buffers for
> regular, extended, and dropped message formatting.
>
> A separate @ext_text buffer is needed because info_print_ext_header()
> and msg_print_ext_body() are not able to add the needed extra
> information in-place.
>
> @ext_text can be used for dropped text because they are never used at
> the same time.
>
> Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
> Signed-off-by: John Ogness <john.ogness@...utronix.de>
If we agree to use the static buffers in struct console, feel free to use:
Reviewed-by: Petr Mladek <pmladek@...e.com>
Otherwise, it should get moved into some internal header.
Best Regards,
Petr
Powered by blists - more mailing lists