Subject: Re: kernel mem allocator, was: Interface detach branch available
To: None <current-users@netbsd.org>
From: Paul Newhouse <newhouse@rockhead.com>
List: current-users
Date: 12/16/1998 21:54:48
Ross Harvey <ross@teraflop.com> 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.

Paul