This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Malloc improvements
- From: Florian Weimer <fweimer at redhat dot com>
- To: Anton Blanchard <anton at au1 dot ibm dot com>, "Carlos O'Donell" <carlos at redhat dot com>, Siddhesh Poyarekar <sid at reserved-bit dot com>, DJ Delorie <dj at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 12 Jul 2016 11:02:12 +0200
- Subject: Re: Malloc improvements
- Authentication-results: sourceware.org; auth=none
- References: <20160712101010.6e6cfecb@kryten>
On 07/12/2016 02:10 AM, Anton Blanchard wrote:
Hi,
It's great to see the current focus on improving malloc. One thing that
would really help POWER is reducing the number of locks and atomics in
the fast path. Right now we have 3 in the malloc fastpath and 2 in
free. These add up.
Does the hook variable read count as an atomic operation in this sense?
Thanks,
Florian