diff options
author | Cupertino Miranda <cupertino.miranda@oracle.com> | 2025-04-16 11:22:53 +0000 |
---|---|---|
committer | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2025-04-16 13:09:16 +0000 |
commit | 1c9ac027a5deb6c3e026be0e88d38959529e6102 (patch) | |
tree | 10cb089ea778880bacccfd2eccf0bf187703322c /sysdeps/wordsize-32 | |
parent | ceeffd970c56893885cbf8382ae34b015f177850 (diff) | |
download | glibc-master.zip glibc-master.tar.gz glibc-master.tar.bz2 |
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/wordsize-32')
0 files changed, 0 insertions, 0 deletions