lkml.org 
[lkml]   [2015]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf: Bump max number of cpus to 1024
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


\
 
 \ /
  Last update: 2015-03-24 17:41    [W:0.050 / U:1.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site