From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH] console: make printk() line continuation tracking per-CPU Date: Wed, 25 Nov 2015 10:39:12 +0000 Message-ID: <1448447952.17688.45.camel@citrix.com> References: <5654AE4002000078000B8A0B@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1a1XUQ-0005UN-MT for xen-devel@lists.xenproject.org; Wed, 25 Nov 2015 10:39:54 +0000 In-Reply-To: <5654AE4002000078000B8A0B@prv-mh.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich , xen-devel Cc: Keir Fraser , Ian Jackson , Tim Deegan List-Id: xen-devel@lists.xenproject.org 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 > Signed-off-by: Jan Beulich > Tested-by: Boris Ostrovsky Acked-by: Ian Campbell