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

From: Joe Perches
Date: Thu Dec 04 2008 - 23:22:25 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/