From: George Dunlap <george.dunlap@citrix.com>
To: Olaf Hering <olaf@aepfle.de>
Cc: George Dunlap <George.Dunlap@eu.citrix.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] xenalyze: increase MAX_CPUS
Date: Thu, 14 Jul 2011 12:53:03 +0100 [thread overview]
Message-ID: <1310644383.448.20.camel@elijah> (raw)
In-Reply-To: <1d7a842aecc538c794c7.1310472961@probook.site>
Applied, thanks.
-George
On Tue, 2011-07-12 at 13:16 +0100, Olaf Hering wrote:
> # HG changeset patch
> # User Olaf Hering <olaf@aepfle.de>
> # Date 1310472861 -7200
> # Node ID 1d7a842aecc538c794c78db93d141cdc5683882c
> # Parent 275dd17a6a36023ffa4e25f1b0d358c22af098b8
> xenalyze: increase MAX_CPUS
>
> On a large system xenalyze will refuse to process the trace file because it
> has an hardcoded limit of 32 cpus. The default of NR_CPUS in xen-unstable is
> 128. Increase the limit to match xen-unstable and also add an option to
> override the macro with a gcc cmdline option.
>
> Signed-off-by: Olaf Hering <olaf@aepfle.de>
>
> diff -r 275dd17a6a36 -r 1d7a842aecc5 xenalyze.c
> --- a/xenalyze.c
> +++ b/xenalyze.c
> @@ -1618,7 +1618,9 @@ struct cr3_value_struct {
> } destroy;
> };
>
> -#define MAX_CPUS 32
> +#ifndef MAX_CPUS
> +#define MAX_CPUS 128
> +#endif
> typedef uint32_t cpu_mask_t;
>
> #define IDLE_DOMAIN 32767
prev parent reply other threads:[~2011-07-14 11:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-12 12:16 [PATCH] xenalyze: increase MAX_CPUS Olaf Hering
2011-07-14 11:53 ` George Dunlap [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=1310644383.448.20.camel@elijah \
--to=george.dunlap@citrix.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=olaf@aepfle.de \
--cc=xen-devel@lists.xensource.com \
/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.