Messages in this thread | | | Subject | Re: [PATCH] Use vprintk rather that vsnprintf where possible | From | Joe Perches <> | Date | Thu, 04 Dec 2008 20:21:45 -0800 |
| |
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.
| |