]> sourceware.org Git - glibc.git/commit
malloc: Ensure mtag code path in checked_request2size is cold nsz/mtag-2
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Mon, 15 Mar 2021 11:44:32 +0000 (11:44 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 19 Mar 2021 11:49:13 +0000 (11:49 +0000)
commit57b96253346fe679c82b7f88e2398ec21553b52c
tree917222986f0a4a3b189ac6f6679825ad00395824
parent7203bf2d0d1405daa5d1c62744abf8ceee85b5bb
malloc: Ensure mtag code path in checked_request2size is cold

This is a workaround (hack) for a gcc optimization issue (PR 99551).
Without this the generated code may evaluate the expression in the
cold path which causes performance regression for small allocations
in the memory tagging disabled (common) case.
malloc/malloc.c
This page took 0.039544 seconds and 5 git commands to generate.