diff options
author | Jeff Law <law@redhat.com> | 2012-08-10 09:37:04 -0600 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2012-08-10 09:37:52 -0600 |
commit | bf51f568f19bc063e62904d18b77d7e449a6a44f (patch) | |
tree | e99e04dc162edd4a04d184a3e4f9a1eeeba287e0 /ChangeLog | |
parent | 2d83a317e90894269ed22fac922acb1bd7f218d0 (diff) | |
download | glibc-bf51f568f19bc063e62904d18b77d7e449a6a44f.tar glibc-bf51f568f19bc063e62904d18b77d7e449a6a44f.tar.gz glibc-bf51f568f19bc063e62904d18b77d7e449a6a44f.tar.bz2 glibc-bf51f568f19bc063e62904d18b77d7e449a6a44f.zip |
[BZ #13939]
* malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
When avoid_arena is set, don't retry in the that arena. Pick the
next one, whatever it might be.
(arena_get2): New parameter avoid_arena, pass through to reused_arena.
(arena_lock): Pass in new parameter to arena_get2.
* malloc/malloc.c (__libc_memalign): Pass in new parameter to
arena_get2.
(__libc_malloc): Unify retrying after main arena failure with
__libc_memalign version.
(__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,17 @@ +2012-08-09 Jeff Law <law@redhat.com> + + [BZ #13939] + * malloc.c/arena.c (reused_arena): New parameter, avoid_arena. + When avoid_arena is set, don't retry in the that arena. Pick the + next one, whatever it might be. + (arena_get2): New parameter avoid_arena, pass through to reused_arena. + (arena_lock): Pass in new parameter to arena_get2. + * malloc/malloc.c (__libc_memalign): Pass in new parameter to + arena_get2. + (__libc_malloc): Unify retrying after main arena failure with + __libc_memalign version. + (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise. + 2012-08-09 H.J. Lu <hongjiu.lu@intel.com> [BZ #14166] |