Re: [PATCH v1 0/8] Cpumap improvements for large MAX_NR_CPUS

From: Arnaldo Carvalho de Melo
Date: Mon Dec 09 2024 - 11:04:55 EST


On Fri, Dec 06, 2024 at 11:03:58PM +0000, Leo Yan wrote:
> On Thu, Dec 05, 2024 at 08:40:27PM -0800, Ian Rogers wrote:
> >
> > Prompted by Kyle Meyer's <kyle.meyer@xxxxxxx> report of the
> > MAX_NR_CPUS value being too small, initiate some clean up of its
> > use. Kyle's patch is at the head of the series. The additional patches
> > hide MAX_NR_CPUS as exposed from cpumap.h, reduce its use by removing
> > perf_cpu_map__read, and try to better size the temporary CPU array in
> > perf_cpu_map__new.
>
> Reviewed-by: Leo Yan <leo.yan@xxxxxxx>

Thanks, applied to perf-tools-next,

- Arnaldo