Re: [PATCH v3 0/6] perf: Replace MAX_NR_CPUS with dynamic alternatives

2019-08-20 Thread Peter Zijlstra
On Mon, Aug 19, 2019 at 03:22:41PM -0500, Kyle Meyer wrote: > The purpose of this patch series is to replace MAX_NR_CPUS with a dynamic > value > throughout perf wherever possible using nr_cpus_online, the number of CPUs > online during a record session, and cpu__max_cpu, the possible number of CP

[PATCH v3 0/6] perf: Replace MAX_NR_CPUS with dynamic alternatives

2019-08-19 Thread Kyle Meyer
The purpose of this patch series is to replace MAX_NR_CPUS with a dynamic value throughout perf wherever possible using nr_cpus_online, the number of CPUs online during a record session, and cpu__max_cpu, the possible number of CPUs as defined in the sysfs. MAX_NR_CPUS is still used by DECLARE_BITM