The direction of malloc?

Jeff Law law@redhat.com
Tue Dec 10 07:00:00 GMT 2013


On 12/09/13 22:04, Carlos O'Donell wrote:
> We should accept these patches without the restrictions we previously
> placed on the malloc implementation. We should use GNU formatting to
> make the code match all of our other styles. In effect we should
> own the copy of ptmalloc2 we started with and change it into the
> implementation that we think our users need.
There was a time when those restrictions made some sense, I think that 
time has long past.

>
> I even encourage the discussion of providing alternate allocators
> like jemalloc.
The one thing I was ping'd regularly about was the allocator from 
thread-building-blocks.  Being able to use that without playing silly 
games would be useful.

The other thing that I've been asked about a few times would be to fix 
the thread safety issues around the hooks, which IIRC requires some 
redesign.

jeff



More information about the Libc-alpha mailing list