diff options
author | 2021-08-30 14:01:00 -0300 | |
---|---|---|
committer | 2021-12-15 17:35:39 -0300 | |
commit | 0f982c182760bd7689769ee7590df592d0a132c0 (patch) | |
tree | f538197b6d1f3d2bd4eda217fccb4c824d3b5929 /scripts/build-many-glibcs.py | |
parent | malloc: Move MORECORE fallback mmap to sysmalloc_mmap_fallback (diff) | |
download | glibc-0f982c182760bd7689769ee7590df592d0a132c0.tar.xz glibc-0f982c182760bd7689769ee7590df592d0a132c0.zip |
malloc: Enable huge page support on main arena
This patch adds support huge page support on main arena allocation,
enable with tunable glibc.malloc.hugetlb=2. The patch essentially
disable the __glibc_morecore() sbrk() call (similar when memory
tag does when sbrk() call does not support it) and fallback to
default page size if the memory allocation fails.
Checked on x86_64-linux-gnu.
Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'scripts/build-many-glibcs.py')
0 files changed, 0 insertions, 0 deletions