Cpumap improvements for large MAX_NR_CPUS
Status from this message: Thanks, applied to perf-tools-next,
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | perf: Increase MAX_NR_CPUS to 4096tools/ tools/ tools/ | +5 | 6 replies | |
| 2/8 | perf cpumap: Reduce transitive dependencies on libperf MAX_NR_CPUStools/ tools/ tools/ +5 more | +8 | 0 replies | |
| 3/8 | libperf cpumap: Hide/reduce scope of MAX_NR_CPUStools/ tools/ | +2 | 0 replies | |
| 4/8 | libperf cpumap: Be tolerant of newline at the end of a cpumasktools/ | +2 | 0 replies | |
| 5/8 | perf pmu: Remove use of perf_cpu_map__readtools/ | +20 | 0 replies | |
| 6/8 | libperf cpumap: Remove use of perf_cpu_map__readtools/ | +6 | 0 replies | |
| 7/8 | libperf cpumap: Remove perf_cpu_map__readtools/ tools/ tools/ +1 more | +0 | 0 replies | |
| 8/8 | libperf cpumap: Grow array of read CPUs in smaller incrementstools/ | +5 | 0 replies |
Reviews trailers per patch
1 of 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Ian Rogers | Leo Yan |
|---|---|---|
| Series | R-b | |
| 1/8 | R-b | |
| 2/8 | ||
| 3/8 | ||
| 4/8 | ||
| 5/8 | ||
| 6/8 | ||
| 7/8 | ||
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/8] Cpumap improvements for large MAX_NR_CPUS
Prompted by Kyle Meyer's <[email protected]> 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.
Ian Rogers (7):
perf cpumap: Reduce transitive dependencies on libperf MAX_NR_CPUS libperf cpumap: Hide/reduce scope of MAX_NR_CPUS libperf cpumap: Be tolerant of newline at the end of a cpumask perf pmu: Remove use of perf_cpu_map__read
libperf cpumap: Remove use of perf_cpu_map__read libperf cpumap: Remove perf_cpu_map__read
libperf cpumap: Grow array of read CPUs in smaller increments
Kyle Meyer (1):
perf: Increase MAX_NR_CPUS to 4096
tools/lib/perf/Documentation/libperf.txt | 1 - tools/lib/perf/cpumap.c | 82 +++++------------------- tools/lib/perf/include/internal/cpumap.h | 4 -- tools/lib/perf/include/perf/cpumap.h | 2 - tools/lib/perf/libperf.map | 1 - tools/perf/builtin-annotate.c | 1 + tools/perf/builtin-diff.c | 1 + tools/perf/builtin-kwork.c | 1 + tools/perf/builtin-mem.c | 1 + tools/perf/builtin-sched.c | 1 + tools/perf/perf.h | 2 +- tools/perf/util/bpf_skel/kwork_top.bpf.c | 4 +- tools/perf/util/kwork.h | 1 + tools/perf/util/pmu.c | 30 ++++++--- tools/perf/util/session.c | 1 + tools/perf/util/svghelper.c | 1 + 16 files changed, 47 insertions(+), 87 deletions(-)
Signature · 1 line
2.47.0.338.g60cca15819-goog