slab: Support 'no-touch' caches
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 2 Nov 2016 16:54:44 +0000 (12:54 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 29 Nov 2016 16:27:40 +0000 (11:27 -0500)
commit73b0cf7e3ca96902385676deb50f3e96af33aca3
tree555351cc2a2589f5aac21914a7efd2d80b58e0d6
parentbea5d00a149ae5a736911c417f5f47f9c611f90d
slab: Support 'no-touch' caches

Slab allocators that are 'no-touch' will not use their source arenas for
bookkeeping.  This means that we always use a bufctl to point to objects,
instead of appending a pointer to an object and making a small linked list.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/slab.h
kern/src/slab.c