about summary refs log tree commit diff
path: root/manual/llio.texi
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2021-02-16 17:02:44 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2021-03-26 11:03:06 +0000
commit9d61722b599a02a6d3caed1d75417a7f5e661693 (patch)
tree565e05bea7b1b44d556a197525d9ac5a3e43dc63 /manual/llio.texi
parentc076a0bc698c537f72c33bad2925f4e3da59d23c (diff)
downloadglibc-9d61722b599a02a6d3caed1d75417a7f5e661693.tar.gz
glibc-9d61722b599a02a6d3caed1d75417a7f5e661693.tar.xz
glibc-9d61722b599a02a6d3caed1d75417a7f5e661693.zip
malloc: Change calloc when tagging is disabled
When glibc is built with memory tagging support (USE_MTAG) but it is not
enabled at runtime (mtag_enabled) then unconditional memset was used
even though that can be often avoided.

This is for performance when tagging is supported but not enabled.
The extra check should have no overhead: tag_new_zero_region already
had a runtime check which the compiler can now optimize away.

Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'manual/llio.texi')
0 files changed, 0 insertions, 0 deletions