malloc: Refactor TAG_ macros to avoid indirection
commit0c719cf42c982ce627179cde4fd583bcca6417bd
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 16 Feb 2021 14:12:25 +0000 (16 14:12 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 26 Mar 2021 11:03:06 +0000 (26 11:03 +0000)
tree19c2b524aa08657b12827ada7edf9a7d72abd620
parente865dcbb7b3319fc6b03939edae0769154051d84
malloc: Refactor TAG_ macros to avoid indirection

This does not change behaviour, just removes one layer of indirection
in the internal memory tagging logic.

Use tag_ and mtag_ prefixes instead of __tag_ and __mtag_ since these
are all symbols with internal linkage, private to malloc.c, so there
is no user namespace pollution issue.

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