]> git.ipfire.org Git - thirdparty/glibc.git/commit
Add single-threaded path to _int_free
authorWilco Dijkstra <wdijkstr@arm.com>
Fri, 20 Oct 2017 16:27:53 +0000 (17:27 +0100)
committerWilco Dijkstra <wdijkstr@arm.com>
Fri, 20 Oct 2017 16:31:06 +0000 (17:31 +0100)
commita15d53e2de4c7d83bda251469d92a3c7b49a90db
tree6ed955b98d9166a0c9d85c30d1898a4d9238a3e9
parentb9a558e790c7f13f04f3fcf229f12543b8119732
Add single-threaded path to _int_free

This patch adds single-threaded fast paths to _int_free.
Bypass the explicit locking for larger allocations.

* malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
ChangeLog
malloc/malloc.c