[PATCH] malloc: fix large tcache code to check for exact size match
DJ Delorie
dj@redhat.com
Wed Oct 22 16:53:28 GMT 2025
Dev Jain <dev.jain@arm.com> writes:
> I have observed that glibc malloc is trying too hard to avoid internal
> fragmentation, but we have lots of virtual address space - so I was
> thinking to sustain some
Fragmentation is a problem that affects large, long-lived programs,
for various reasons (keeping page tables active, using up ram for
fragments, blocking consolidation, etc).
There are users who run out of memory because of these reasons, so we
should be careful to not be reckless about internal fragmentation.
More information about the Libc-alpha
mailing list