Re: Printk mulitple line message support

From: Huang Ying
Date: Tue Nov 15 2011 - 19:43:57 EST


On Tue, 2011-11-15 at 11:41 +0800, Joe Perches wrote:
> 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.

Yes. And I think too long line is bad and should be warned.

Best Regards,
Huang Ying


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