malloc: Simplify __mtag_tag_new_usable
commit91e5c439d3130a3c5ff3a3b72adedd50f3f72f76
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 4 Feb 2021 11:38:23 +0000 (4 11:38 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 26 Mar 2021 11:03:06 +0000 (26 11:03 +0000)
tree9da70206868983387be95edac1af9d871a74b26c
parent0ae773bba0ed6f5b06f8f2312162d8c0476e6b10
malloc: Simplify __mtag_tag_new_usable

The chunk cannot be a dumped one here.  The only non-obvious cases
are free and realloc which may be called on a dumped area chunk,
but in both cases it can be verified that tagging is already
avoided for dumped area chunks.

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