Re: Printk mulitple line message support

From: Joe Perches
Date: Mon Nov 14 2011 - 22:43:18 EST


On Tue, 2011-11-15 at 10:59 +0800, Huang Ying wrote:
> For multiple part in one line. I think the better solution may be to
> assemble them in a line buffer before real output to console to avoid
> interleaving. Do you think so?

Hard to say yes for sure. Immediacy has some value.

There are some downsides to preassembly in memory
constrained systems.

On the other hand, most uses of pr_cont don't create
very long lines.

--
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/