aboutsummaryrefslogtreecommitdiff
path: root/ports/sysdeps/microblaze
diff options
context:
space:
mode:
authorWilco Dijkstra <wilco.dijkstra@arm.com>2025-03-20 16:23:07 +0000
committerWilco Dijkstra <wilco.dijkstra@arm.com>2025-03-25 18:53:01 +0000
commitcd335350021fd0b7ac533c83717ee38832fd9887 (patch)
treeaee7566b193f7191fc322b12950248b8c1a598b7 /ports/sysdeps/microblaze
parent8bac7f7a434e158e9765b3b4d1ecaf10304f5994 (diff)
downloadglibc-master.zip
glibc-master.tar.gz
glibc-master.tar.bz2
malloc: Use _int_free_chunk for remaindersHEADmaster
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