aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-11-12 14:15:14 +0100
committerFlorian Weimer <fweimer@redhat.com>2018-11-12 14:35:06 +0100
commit1ecba1fafc160ca70f81211b23f688df8676e612 (patch)
tree9b95d08cc0ca92bc0b85840b928c6dab98482c7f /ChangeLog
parent278fdabd8c45dc215222facd36febfc3f6f2a95d (diff)
downloadglibc-1ecba1fafc160ca70f81211b23f688df8676e612.tar
glibc-1ecba1fafc160ca70f81211b23f688df8676e612.tar.gz
glibc-1ecba1fafc160ca70f81211b23f688df8676e612.tar.bz2
glibc-1ecba1fafc160ca70f81211b23f688df8676e612.zip
malloc: Convert the unlink macro to the unlink_chunk function
This commit is in preparation of turning the macro into a proper function. The output arguments of the macro were in fact unused. Also clean up uses of __builtin_expect.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e6f42b41b4..716aa803b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2018-11-12 Florian Weimer <fweimer@redhat.com>
+
+ * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
+ function. Move after the definition of in_smallbin_range. Do not
+ use __builtin_expect for paths that lead to a noreturn function.
+ Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
+ because it is unclear whether this is in fact an unlikely
+ condition.
+ (_int_malloc, _int_free): Adjust.
+ (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
+ variables.
+ * malloc/arena.c (heap_trim): Likewise.
+
2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
* sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use