lkml.org 
[lkml]   [1996]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Ideas for v2.1
Larry McVoy wrote:
> Is the slab allocator the thing that Bonwick did and wrote up?

Yes it is. I wrote my original implementation from a description
in "Unix Internals: The New Frontiers" (sorry, can't remember
author of the book).
I'm not a member of USENIX, so thought I couldn't get a copy of
Bonwick's paper (wasn't on Sun's site either).
I found it last week, on a database in NZ, but haven't had chance
to read it.
My computer and I are a 'distance' apart at the moment. When we
are re-united (hopefully, this weekend), I'll place the code on
an ftp server somewhere - a patch against 2.0.0.

BTW: The two major users of objects in the kernel seem to be inodes
and buffer headers. Linus has (of course) done a v. good job of
implementing the allocation for these objects, so to use the
slab allocator for these seems pointless. Oh, well...

markhe


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.088 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site