aboutsummaryrefslogtreecommitdiff
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2023-10-23 23:14:35 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2024-02-19 08:01:58 +0000
commit90aaf46d520816e7a92d88fc159fe8694a5e1e32 (patch)
tree42a19a63df32afb01a92643592d5e794741a700f /MAINTAINERS
parent1bd05bae9252fb21a65da19504c144349b0c6577 (diff)
downloadsrc-90aaf46d520816e7a92d88fc159fe8694a5e1e32.tar.gz
src-90aaf46d520816e7a92d88fc159fe8694a5e1e32.zip
LinuxKPI: reduce impact of large MAXCPU
Start scaling arrays dynamically instead of using MAXCPU, resulting in extra allocations on startup but reducing the overall memory footprint. For the static single CPU mask we provide two versions to further save memory depending on a low or high CPU count system. The threshold to switch is currently at 128 CPUs on 64bit platforms. More detailed comments on the implementations can be found in the code. If I am not wrong on a MAXCPU=65536 system the memory footprint should roughly go down from 512M to 1.5M for the static single CPU mask. Submitted by: olce (most of this final version) Sponsored by: The FreeBSD Foundation PR: 274316 Differential Revision: https://reviews.freebsd.org/D42345 (cherry picked from commit 488e8a7faca51a71987fbf00cd36cfcd19269db7)
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions