l4-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

slab allocator


From: Johan Rydberg
Subject: slab allocator
Date: Wed, 17 Sep 2003 06:09:00 +0200

Since I really had nothing to do, I implemented a simple slab
allocator for l4-hurd.  It has only been tested on GNU/Linux
with a small test case I wrote.  

It breaks the current interface for libhurd-slab, since it
introduces the alignment argument to hurd_slab_create.

I would like your comments on this code.  I attached the files
instead of including a patch, since the file was more or less
empty prior to this.  The test case is also attached.

Best regards,
Johan

I hope the attachments is included now, and I hope it is the
right files.  You should not be doing this at 6 AM .

-- 
Johan Rydberg, Free Software Developer, Sweden
http://rtmk.sf.net | http://www.nongnu.org/guss/

Playing Anders Ilar - Coastline

Attachment: slab.c
Description: Binary data

Attachment: slab.h
Description: Binary data

Attachment: test-1.c
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]