malloc vs ptmalloc2

David Schultz das at FreeBSD.ORG
Mon Feb 14 17:05:39 PST 2005


On Mon, Feb 14, 2005, John-Mark Gurney wrote:
> David Schultz wrote this message on Mon, Feb 14, 2005 at 08:04 -0500:
> > Right, databases, language runtimes, and the small set of other
> > applications for which it really matters usually have their own
> > special-purpose allocators.  I was counting on that when I said
> > that replacing malloc() is unlikely to make a big difference.
> > (One could argue, of course, that it's unfortunate that
> > applications need to do so.)
> 
> Hmmm, maybe we should bring the zone API into userland? :)  It'd be
> nice to have some of the features, like the ctor/dtor's...

That's essentially what Solaris did:
http://www.usenix.org/event/usenix01/bonwick.html


More information about the freebsd-hackers mailing list