about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2019-05-17 18:16:20 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2019-05-17 18:16:20 +0100
commit1f50f2ad854c84ead522bfc7331b46dbe6057d53 (patch)
treea350b22461a9b819877711cf88a53f0191b388b5 /ChangeLog
parentfef7c63cd5a5a3150dc9465687359351afab5010 (diff)
downloadglibc-1f50f2ad854c84ead522bfc7331b46dbe6057d53.tar.gz
glibc-1f50f2ad854c84ead522bfc7331b46dbe6057d53.tar.xz
glibc-1f50f2ad854c84ead522bfc7331b46dbe6057d53.zip
Small tcache improvements
Change the tcache->counts[] entries to uint16_t - this removes
the limit set by char and allows a larger tcache.  Remove a few
redundant asserts.

bench-malloc-thread with 4 threads is ~15% faster on Cortex-A72.

Reviewed-by: DJ Delorie <dj@redhat.com>

	* malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
	(tcache_put): Remove redundant assert.
	(tcache_get): Remove redundant asserts.
	(__libc_malloc): Check tcache count is not zero.
	* manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1e44589918..da5cbd1dcc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2019-05-17  Wilco Dijkstra  <wdijkstr@arm.com>
+
+	* malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
+	(tcache_put): Remove redundant assert.
+	(tcache_get): Remove redundant asserts.
+	(__libc_malloc): Check tcache count is not zero.
+	* manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
+
 2019-05-17  Florian Weimer  <fweimer@redhat.com>
 
 	* manual/llio.texi (Open-time Flags): Document O_DIRECTORY.