Re: [PATCH] Use vprintk rather that vsnprintf where possible

Joe Perches
2008-12-05T04:22:19Z

On Fri, 2008-12-05 at 04:05 +0100, Kay Sievers wrote:
> If we convert to two printk calls for a single line, does that not
> possibly get mixed up with printks from other locations and lead to
> hardly readable log output?

Yes it does.

There are hundreds of possible interleaves in kernel
source today. Adding a couple more isn't horrible.

The changes Matt proposes are good because they make the
kernel image smaller with a very minimal chance of
deciphering difficulty.

Someday there'll be a "multiline_printk_start/end"
mechanism that will avoid interleaving.