From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>,
Wei Liu <wei.liu2@citrix.com>,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
George Dunlap <George.Dunlap@eu.citrix.com>,
Andrew Cooper <andrew.cooper3@citrix.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>, Tim Deegan <tim@xen.org>,
Julien Grall <julien.grall@arm.com>,
xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH v2 2/2] x86/dom0: add verbose mode and print memory allocation stats
Date: Mon, 7 Jan 2019 16:35:56 +0100 [thread overview]
Message-ID: <20190107153556.jeeir4dbsdiruwnv@mac> (raw)
In-Reply-To: <5C332392020000780020ABC9@prv1-mh.provo.novell.com>
On Mon, Jan 07, 2019 at 03:01:54AM -0700, Jan Beulich wrote:
> >>> On 28.12.18 at 12:18, <roger.pau@citrix.com> wrote:
> > --- a/xen/arch/x86/hvm/dom0_build.c
> > +++ b/xen/arch/x86/hvm/dom0_build.c
> > @@ -60,6 +60,18 @@ static struct acpi_madt_interrupt_override __initdata *intsrcovr;
> > static unsigned int __initdata acpi_nmi_sources;
> > static struct acpi_madt_nmi_source __initdata *nmisrc;
> >
> > +static unsigned int __initdata order_stats[MAX_ORDER + 1] = { };
>
> Pointless initializer.
>
> > +static void __init print_order_stats(void)
> > +{
> > + unsigned int i;
> > +
> > + printk("Memory allocation stats:\n");
>
> I think this wants prefixing with "Dom0".
I will use Dom%u and d->domain_id.
> > + for ( i = 0; i < ARRAY_SIZE(order_stats); i++ )
> > + if ( order_stats[i] )
> > + printk("order: %2u allocations: %u\n", i, order_stats[i]);
>
> Why the first of the two colons?
Because it's printing the order, I will remove it in the next version.
Thanks, Roger.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
prev parent reply other threads:[~2019-01-07 15:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-28 11:18 [PATCH v2 0/2] x86/dom0: minor fixes and improvements to PVH builder Roger Pau Monne
2018-12-28 11:18 ` [PATCH v2 1/2] x86/dom0: take alignment into account when populating p2m in PVH mode Roger Pau Monne
2018-12-28 14:29 ` Andrew Cooper
2019-01-04 14:42 ` Jan Beulich
2019-01-04 15:16 ` Roger Pau Monné
2018-12-28 11:18 ` [PATCH v2 2/2] x86/dom0: add verbose mode and print memory allocation stats Roger Pau Monne
2019-01-02 12:35 ` Wei Liu
2019-01-02 12:48 ` Roger Pau Monné
2019-01-02 12:53 ` Wei Liu
2019-01-07 10:01 ` Jan Beulich
2019-01-07 15:35 ` Roger Pau Monné [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190107153556.jeeir4dbsdiruwnv@mac \
--to=roger.pau@citrix.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=julien.grall@arm.com \
--cc=konrad.wilk@oracle.com \
--cc=sstabellini@kernel.org \
--cc=tim@xen.org \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.