aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/aarch64/tst-gcs-optional-off.c
diff options
context:
space:
mode:
authorCupertino Miranda <cupertino.miranda@oracle.com>2025-04-16 11:22:53 +0000
committerWilco Dijkstra <wilco.dijkstra@arm.com>2025-04-16 13:09:16 +0000
commit1c9ac027a5deb6c3e026be0e88d38959529e6102 (patch)
tree10cb089ea778880bacccfd2eccf0bf187703322c /sysdeps/unix/sysv/linux/aarch64/tst-gcs-optional-off.c
parentceeffd970c56893885cbf8382ae34b015f177850 (diff)
downloadglibc-master.zip
glibc-master.tar.gz
glibc-master.tar.bz2
malloc: move tcache_init out of hot tcache pathsHEADmaster
This patch moves any calls of tcache_init away after tcache hot paths. Since there is no reason to initialize tcaches in the hot path and since we need to be able to check tcache != NULL in any case, because of tcache_thread_shutdown function, moving tcache_init away from hot path can only be beneficial. The patch also removes the initialization of tcaches within the __libc_free call. It only makes sense to initialize tcaches for the thread after it calls one of the allocation functions. Also the patch removes the save/restore of errno from tcache_init code, as it is no longer needed.
Diffstat (limited to 'sysdeps/unix/sysv/linux/aarch64/tst-gcs-optional-off.c')
0 files changed, 0 insertions, 0 deletions