From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: David Ahern <david.ahern@oracle.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] perf: Bump max number of cpus to 1024
Date: Tue, 24 Mar 2015 13:21:26 -0300 [thread overview]
Message-ID: <20150324162126.GK5447@kernel.org> (raw)
In-Reply-To: <1427213438-127216-1-git-send-email-david.ahern@oracle.com>
Em Tue, Mar 24, 2015 at 12:10:38PM -0400, David Ahern escreveu:
> SPARC based systems currently support up to 1024 cpus (e.g. T5-8).
> Allow perf to work on those systems.
>
> Signed-off-by: David Ahern <david.ahern@oracle.com>
> ---
> tools/perf/perf.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/perf/perf.h b/tools/perf/perf.h
> index ee847c8af668..77c8857da123 100644
> --- a/tools/perf/perf.h
> +++ b/tools/perf/perf.h
> @@ -29,7 +29,7 @@ static inline unsigned long long rdclock(void)
> return ts.tv_sec * 1000000000ULL + ts.tv_nsec;
> }
>
> -#define MAX_NR_CPUS 256
> +#define MAX_NR_CPUS 1024
Humm, what do we have that still use this stuff? /me goes to check...
> extern const char *input_name;
> extern bool perf_host, perf_guest;
> --
> 2.2.1
next prev parent reply other threads:[~2015-03-24 16:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-24 16:10 [PATCH] perf: Bump max number of cpus to 1024 David Ahern
2015-03-24 16:21 ` Arnaldo Carvalho de Melo [this message]
2015-03-27 7:40 ` [tip:perf/core] " tip-bot for David Ahern
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=20150324162126.GK5447@kernel.org \
--to=acme@kernel.org \
--cc=david.ahern@oracle.com \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox