[PATCH 0/3] malloc: batched frees
Florian Weimer
fweimer@redhat.com
Thu Dec 18 10:17:02 GMT 2025
This series implements batched frees for malloc. They amortize the
locking overhead for frees once tcache is full.
Tested on x86_64-linux-gnu.
Florian Weimer (3):
malloc: Perform batched frees if tcache is full
malloc: Only fill half of the tcache during batch allocation
malloc: Increase tcache fill count from 16 to 32
malloc/malloc.c | 82 +++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 69 insertions(+), 13 deletions(-)
base-commit: 9da0585852e5599ad6e849ccdf2f6f9b04038a3c
--
2.52.0
More information about the Libc-alpha
mailing list