Re: [PATCH printk 3/5] printk: use buffer pool for sprint buffers

From: Sergey Senozhatsky
Date: Thu Sep 24 2020 - 01:41:22 EST


On (20/09/23 17:11), Petr Mladek wrote:
>
> AFAIK, there is one catch. We need to use va_copy() around
> the 1st call because va_format can be proceed only once.
>

Current printk() should be good enough for reporting, say, "Kernel
stack overflow" errors. Is extra pressure that va_copy() adds something
that we need to consider?

-ss