DragonFly BSD
DragonFly kernel List (threaded) for 2003-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Try out the slab allocator!


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 27 Aug 2003 00:09:25 -0700 (PDT)

    It's all committed.  To try out the slab allocator you have to 
    compile up a kernel with two kernel config options:

    options	NO_KMEM_MAP
    options	USE_SLAB_ALLOCATOR

    I'm sure there will be some instability but I expect only minor issues
    will come up.  I was able to buildworld successfully on both my UP
    and my SMP test box.

    Just for yucks you can compare my slab allocator, which is
    kern/kern_slaballoc.c, against the FreeBSD-5 slab allocator which
    is (in FreeBSD-5) vm/uma_core.c and kern/kern_malloc.c.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



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