Re: dlmalloc

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 17 Dec 2003 17:22:53 +0100 (CET)

On Wed, 17 Dec 2003, Andres Kroonmaa wrote:

> Yes, but there remains issue with memory fragmentation, to solve which
> there is sense in coordinating assumptions of both malloc and pools.
> Chunks are longlived objects, and they can cause nasty holes in memspace,
> that can be relieved by use of mmaped allocs. We could rely on known
> malloc lib to do that, or opt to do that ourselves, repeating all the
> portability stuff.

I see it likely that one of the three general purpose malloc libraries
shipped with Solaris works just as well as dlmalloc for Squid and without
the risks involved in replacing the malloc package. (there is also at
least two special purpose malloc libraries, but these are not suitable for
Squid)

Regards
Henrik
Received on Wed Dec 17 2003 - 09:23:02 MST

This archive was generated by hypermail pre-2.1.9 : Wed Dec 24 2003 - 12:00:29 MST