Subject: Re: kernel mem allocator, was: Interface detach branch available
To: None <>
From: Paul Newhouse <>
List: current-users
Date: 12/16/1998 21:54:48
Ross Harvey <> writes:

>> From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
>> At 8:46 Uhr +0100 16.12.1998, Todd Whitesel wrote:
>> >> kernel malloc operates on buckets of size power-of-two.  each page is
>> >> subdivided into buckets.  they're never subdivided.
>> >
>> >"Excellent."
>> >
>> >BTW Does anyone know how popular this algorithm is among the various unices?
>AFAIK it is used by *BSD and by Digital Unix.

HPUX satisfies from power of 2 buckets as well (where 32 bytes is the smallest sub-page
bucket).  Tracking down allocators who free the memory and continue to use it is a butt-
load of fun!!! *8^), tracking down "non-freeing leakers" is another source of joy.