]> git.feebdaed.xyz Git - 0xmirror/glibc.git/commit
malloc: Improve thp_init
authorWilco Dijkstra <wilco.dijkstra@arm.com>
Fri, 12 Dec 2025 11:58:28 +0000 (11:58 +0000)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Wed, 17 Dec 2025 19:11:01 +0000 (19:11 +0000)
commit1c588a2187a4f348ec155a1441784b51891bb667
tree901df3f9ece9cacb89f73da623f950e4c4d71050
parentfcd88791e991f3eeb9d36845fbaf2f9f1db0f07d
malloc: Improve thp_init

Cleanup thp_init, change it so that the DEFAULT_THP_PAGESIZE
setting can be overridden with glibc.malloc.hugetlb=0 tunable.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
malloc/malloc.c
sysdeps/unix/sysv/linux/aarch64/malloc-hugepages.h