This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [patch] malloc per-thread cache ready for review
- From: Zack Weinberg <zackw at panix dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: Markus Trippelsdorf <markus at trippelsdorf dot de>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 1 Feb 2017 12:39:56 -0500
- Subject: Re: [patch] malloc per-thread cache ready for review
- Authentication-results: sourceware.org; auth=none
- References: <20170201163333.GD17590@x4> <xnefzhlv2y.fsf@greed.delorie.com>
On Wed, Feb 1, 2017 at 11:44 AM, DJ Delorie <dj@redhat.com> wrote:
>
> Before we go down the "which allocator is best" road... glibc's
> allocator is intended to be a general purpose "reasonably good enough"
> system allocator. It's easy to find a specific allocator that beats it
> in a specific test, but being a specifically best allocator is not our
> goal here - providing an allocator that can be the default on a
> Linux-based system is.
Still, I would hope that if an existing alternative implementation
(such as either of those mentioned by Markus) is found to be
_consistently_ better than what we have, we would consider adopting
it.
(The difficulty is of course defining "consistently".)
zw