]> git.ipfire.org Git - thirdparty/glibc.git/commit
malloc: Avoid taggig mmaped memory on free
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 4 Feb 2021 11:52:14 +0000 (11:52 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 26 Mar 2021 11:03:06 +0000 (11:03 +0000)
commitb9b85be6ea97c126ad6f69f84f056bad6756ee5c
treec9c8044457c27cd6ff08cbdf4dc92c2cab3f44a2
parent91e5c439d3130a3c5ff3a3b72adedd50f3f72f76
malloc: Avoid taggig mmaped memory on free

Either the memory belongs to the dumped area, in which case we don't
want to tag (the dumped area has the same tag as malloc internal data
so tagging is unnecessary, but chunks there may not have the right
alignment for the tag granule), or the memory will be unmapped
immediately (and thus tagging is not useful).

Reviewed-by: DJ Delorie <dj@redhat.com>
malloc/malloc.c