[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87r0xskseq.fsf@jogness.linutronix.de>
Date: Thu, 24 Nov 2022 21:35:33 +0106
From: John Ogness <john.ogness@...utronix.de>
To: Petr Mladek <pmladek@...e.com>
Cc: Sergey Senozhatsky <senozhatsky@...omium.org>,
Steven Rostedt <rostedt@...dmis.org>,
Thomas Gleixner <tglx@...utronix.de>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH printk v2 5/7] printk: Use struct console_buffers
On 2022-11-24, Petr Mladek <pmladek@...e.com> wrote:
> A better solution would be to remove DROPPED_TEXT_MAX completely
> and pass the buffer size to call_console_driver().
And then call:
call_cosole_driver(con, text, len, dropped_text, DROPPED_TEXT_MAX);
Is that better? We do not want to pass the actual buffer size because
the buffer is shared with the regular messages.
Later in this series the dropped messages are handled in quite a
different way, so maybe this mid-series solution is acceptable. But even
by the end of this series DROPPED_TEXT_MAX still exists just to put a
limit on the dropped messages length, even if more buffer space exists.
John
Powered by blists - more mailing lists