This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Replace malloc force_reg by atomic_forced_read.


On 9 December 2013 13:46, OndÅej BÃlka <neleai@seznam.cz> wrote:
> Hi,
>
> this refactors a malloc a bit, macro force_reg is a duplicate of
> atomic_forced_read so we use it instead.
>
> OK to commit?
>
>         * malloc/malloc.c: (force_reg): Remove.
>         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
>         _mid_memalign, __libc_calloc): replace force_reg by atomic_forced_read.
>         * malloc/arena.c (ptmalloc_init): Likewise.
>         * malloc/hooks.c (top_check): Likewise.
>

This looks ok to me. Should be a capital R in replace in the changelog
entry though and should mention sysmalloc and systrim.

-- 
Will Newton
Toolchain Working Group, Linaro


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]