diff options
author | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2025-03-20 16:23:07 +0000 |
---|---|---|
committer | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2025-03-25 18:53:01 +0000 |
commit | cd335350021fd0b7ac533c83717ee38832fd9887 (patch) | |
tree | aee7566b193f7191fc322b12950248b8c1a598b7 /ports/sysdeps/microblaze | |
parent | 8bac7f7a434e158e9765b3b4d1ecaf10304f5994 (diff) | |
download | glibc-master.zip glibc-master.tar.gz glibc-master.tar.bz2 |
When splitting a chunk, release the tail part by calling int_free_chunk.
This avoids inserting random blocks into tcache that were never requested
by the user. Fragmentation will be worse if they are never used again.
Note if the tail is fairly small, we could avoid splitting it at all.
Also remove an oddly placed initialization of tcache in _libc_realloc.
Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'ports/sysdeps/microblaze')
0 files changed, 0 insertions, 0 deletions