[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] console: make printk() line continuation tracking per-CPU



On Tue, 2015-11-24 at 10:36 -0700, Jan Beulich wrote:
> This avoids cases where split messages (with other than the initial
> part not carrying a log level; single line messages only of course)
> issued on multiple CPUs interfere with each other, causing messages to
> be issued which are supposed to be suppressed due to the log level
> setting. E.g.
> 
>       CPU A                   CPU B
> XENLOG_G_DEBUG "abc"
>                       XENLOG_G_DEBUG "def\n"
> "xyz\n"
> 
> would cause the last message to be logged despite this obviously not
> being intended (at default log levels).
> 
> Suggested-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> Tested-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>

Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.