Re: [PATCH v1 0/8] Cpumap improvements for large MAX_NR_CPUS
From: Leo Yan
Date: Fri Dec 06 2024 - 18:04:09 EST
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>