From: "Jan Beulich" Subject: Re: [PATCH] xen/mm: Improve message in populate physmap when the domain is direct mapped Date: Tue, 27 Oct 2015 07:09:59 -0600 Message-ID: <562F85B702000078000AF1FC@prv-mh.provo.novell.com> References: <1445945637-26421-1-git-send-email-julien.grall@citrix.com> <562F63CE.7090806@citrix.com> <562F64E3.4090606@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Zr40r-0001b8-59 for xen-devel@lists.xenproject.org; Tue, 27 Oct 2015 13:10:05 +0000 In-Reply-To: <562F64E3.4090606@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: Keir Fraser , ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, Andrew Cooper , Tim Deegan , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org >>> On 27.10.15 at 12:49, wrote: > On 27/10/15 11:45, Andrew Cooper wrote: >> On 27/10/15 11:33, Julien Grall wrote: >>> --- a/xen/common/memory.c >>> +++ b/xen/common/memory.c >>> @@ -141,7 +141,7 @@ static void populate_physmap(struct memop_args *a) >>> { >>> gdprintk(XENLOG_INFO, >>> "mfn %#"PRI_xen_pfn" doesn't belong to the" >>> - " domain\n", mfn); >>> + " domain %d\n", mfn, d->domain_id); >> >> This could easily be shortened to "doesn't belong to d%d" which matches >> our other domain identification. > > I also just noticed that the message is split between 2 lines. IIRC, we > are trying to avoid that to allow grep working. > > I will resend this patch with: > > gprintk(XENLOG_INFO, > "mfn %#"PRI_xen_pfn" doesn't belong to d%d\n", > mfn, d->domain_id). > > Can I keep your reviewed-by with that change? And no need to resend, btw. Jan