memory allocation with malloc

Giorgos Keramidas keramida at
Tue Aug 5 07:03:54 UTC 2008

On Tue, 05 Aug 2008 09:58:40 +0300, Giorgos Keramidas <keramida at> wrote:
> On Tue, 5 Aug 2008 11:46:06 +0530, "Shyamal Shukla" <shyamalshukla at> wrote:
>> However, this does not happen. Can someone please correct my
>> understanding and provide me with a reference to the working of
>> malloc() and free()?
> That's because the original assumption is false.  [...]

I forgot to attach the link to the jemalloc paper, apologies.

Here it is:

This describes how jemalloc works.  This isn't a detailed line by line
walk-through of the source, but it should provide a good starting
point.  Then you can always read the source of BSD malloc() at:


More information about the freebsd-questions mailing list