summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-11-23 14:47:31 +0100
committerFlorian Weimer <fweimer@redhat.com>2017-11-23 14:47:31 +0100
commit0a947e061d47c9710838f210506215bd9533324b (patch)
tree7b794c6778f0b904909e87a560696799bbcd4e7d /ChangeLog
parent67f36c7922fe5053549ec9aa7f60ed2c5c2d65b4 (diff)
downloadglibc-0a947e061d47c9710838f210506215bd9533324b.tar.gz
glibc-0a947e061d47c9710838f210506215bd9533324b.tar.xz
glibc-0a947e061d47c9710838f210506215bd9533324b.zip
malloc: Call tcache destructor in arena_thread_freeres
It does not make sense to register separate cleanup functions for arena
and tcache since they're always going to be called together.  Call the
tcache cleanup function from within arena_thread_freeres since it at
least makes the order of those cleanups clear in the code.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d9222a58d2..9a9efa54d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2017-11-23  Florian Weimer  <fweimer@redhat.com>
 
+	* malloc/malloc.c (tcache_thread_shutdown): Rename from
+	tcache_thread_freeres.  Define for USE_TCACHE and !USE_TCACHE
+	alike.  Remove freeres marker.
+	* malloc/arena.c (arena_thread_freeres): Call
+	tcache_thread_shutdown.
+
+2017-11-23  Florian Weimer  <fweimer@redhat.com>
+
 	[BZ #22459]
 	Export nscd hash function as __nss_hash.
 	* include/nss.h (__nss_hash): Declare.