Subject: Re: Machine-independent bus DMA interface proposal
To: Curt Sampson <curt@portal.ca>
From: Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu>
List: tech-kern
Date: 09/25/1996 17:10:22
> On Tue, 24 Sep 1996, John Kohl wrote:
> 
> > This cost can be greatly amortized with certain allocation strategies,
> > such as the slab allocator described by someone from Sun at the Winter
> > 1995 USENIX.  Basically, you take a chunk/page/whatever of memory from
> > the normal kernel allocator and pre-initialize it for fixed-size
> > allocations specific to a memory type, using simple free list management
> > within this slab.
> 
> I believe that the 4.4BSD kernel memory allocator already does more
> or less just this.

More _or_ less.  Less, in fact.

I suggest that you read the slab paper to see what their allocator
actually does.  In reality, it's not very similar at all to the BSD
allocator.



cgd