]> sourceware.org Git - glibc.git/commit
malloc: Add THP/madvise support for sbrk
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 13 Aug 2021 13:06:04 +0000 (10:06 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 15 Dec 2021 20:35:15 +0000 (17:35 -0300)
commit7478c9959ae409f7b3d63146943575d6ee745352
tree79923a34afb4f9aafaf7a2fbcbfdc2a0997dad55
parent5f6d8d97c69748180f0031dfa385aff75062c4d5
malloc: Add THP/madvise support for sbrk

To increase effectiveness with Transparent Huge Page with madvise, the
large page size is use instead page size for sbrk increment for the
main arena.

Checked on x86_64-linux-gnu.

Reviewed-by: DJ Delorie <dj@redhat.com>
include/libc-pointer-arith.h
malloc/malloc.c
This page took 0.04362 seconds and 5 git commands to generate.