diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-09-07 14:39:52 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-09-07 14:40:58 +0530 |
commit | c78ab0947353c8f46d23857ebf3fb4a70ed581d9 (patch) | |
tree | bfe0fa498ef6ea5c98a1ed81cbc2cdecef6b9dde /ChangeLog | |
parent | 01f49f59cebf782c663698a0fa6f15453409d42b (diff) | |
download | glibc-c78ab0947353c8f46d23857ebf3fb4a70ed581d9.tar glibc-c78ab0947353c8f46d23857ebf3fb4a70ed581d9.tar.gz glibc-c78ab0947353c8f46d23857ebf3fb4a70ed581d9.tar.bz2 glibc-c78ab0947353c8f46d23857ebf3fb4a70ed581d9.zip |
Cleanup code duplication in malloc on fallback to use another arena
Break the fallback code to try another arena into a separate function
for readability.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com> + + * malloc/arena.c (arena_get_retry): New function that gets + another arena for the caller to try its request on. + * malloc/malloc.c (__libc_malloc): Use get_another_arena if the + current arena cannot fulfill the request. + (__libc_memalign): Likewise. + (__libc_memalign): Likewise. + (__libc_pvalloc): Likewise. + (__libc_calloc): Likewise. + 2012-09-05 John Tobey <john.tobey@gmail.com> [BZ #13542] |