diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2017-10-17 18:25:43 +0100 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2017-10-17 18:25:43 +0100 |
commit | e4dd4ace56880d2f1064cd787e2bdb96ddacc3c4 (patch) | |
tree | 8f3fd4387a022c354f667ad126d513b28a6eb090 /ChangeLog | |
parent | 8867c3c14b0005530d041215de8383a0fbf2c327 (diff) | |
download | glibc-e4dd4ace56880d2f1064cd787e2bdb96ddacc3c4.tar glibc-e4dd4ace56880d2f1064cd787e2bdb96ddacc3c4.tar.gz glibc-e4dd4ace56880d2f1064cd787e2bdb96ddacc3c4.tar.bz2 glibc-e4dd4ace56880d2f1064cd787e2bdb96ddacc3c4.zip |
Inline tcache functions
The functions tcache_get and tcache_put show up in profiles as they
are a critical part of the tcache code. Inline them to give tcache
a 16% performance gain. Since this improves multi-threaded cases
as well, it helps offset any potential performance loss due to adding
single-threaded fast paths.
* malloc/malloc.c (tcache_put): Inline.
(tcache_get): Inline.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2017-10-17 Wilco Dijkstra <wdijkstr@arm.com> + + * malloc/malloc.c (tcache_put): Inline. + (tcache_get): Inline. + 2017-10-17 Jordi Mallach <jordi@gnu.org> Aurelien Jarno <aurelien@aurel32.net> |