This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Re: [PATCH][malloc] Avoid atomics in have_fastchunks
- From: Arjan van de Ven <arjan at linux dot intel dot com>
- To: Carlos O'Donell <carlos at redhat dot com>, Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>, "dj at redhat dot com" <dj at redhat dot com>
- Cc: nd <nd at arm dot com>
- Date: Wed, 20 Sep 2017 07:02:34 -0700
- Subject: Re: Re: [PATCH][malloc] Avoid atomics in have_fastchunks
- Authentication-results: sourceware.org; auth=none
- References: <693bfe7f-0972-30fa-9d28-58f68990c562@redhat.com>
On 9/19/2017 6:57 PM, Carlos O'Donell wrote:
An alternative would be to move all the fastbin handling into the t-cache - but
then I bet it's much easier just to write a fast modern allocator...
Writing a fast modern allocator is not easy :-)
and since glibc 2.26, glibc's malloc() is actually no longer losing against some of those
alternative allocators as well, for example see
https://www.phoronix.com/scan.php?page=news_item&px=Glibc-2.26-Redis-Test