This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] malloc: Manual part of conversion to __libc_lock
- From: Florian Weimer <fweimer at redhat dot com>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, libc-alpha at sourceware dot org
- Date: Wed, 21 Sep 2016 17:16:33 +0200
- Subject: Re: [PATCH] malloc: Manual part of conversion to __libc_lock
- Authentication-results: sourceware.org; auth=none
- References: <20160822124433.2ABA7439942E2@oldenburg.str.redhat.com> <3e496755-2029-355a-8166-ef89b07da3b1@linaro.org>
On 08/25/2016 10:22 PM, Adhemerval Zanella wrote:
#define arena_lock(ptr, size) do { \
if (ptr && !arena_is_corrupt (ptr)) \
- __libc_lock_lock (ptr->mutex); \
+ __libc_lock_lock (ptr->mutex); \
else \
ptr = arena_get2 ((size), NULL); \
} while (0)
I would avoid push these kind of indentation changes.
It's required to restore alignment after the automated changes.
I have committed this now. Thanks.
Florian