slab: Move ctors/dtors to the slab layer
authorBarret Rhoden <brho@cs.berkeley.edu>
Sun, 6 Nov 2016 16:45:49 +0000 (11:45 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 29 Nov 2016 16:27:40 +0000 (11:27 -0500)
commitd040d525437c65c6cd1edf498f69e6644c1309e2
tree4f946fe3731c872af724c345fc2728d6483d75d4
parent2331d37fb33b00626432ffac5d20b8ca9434ccb2
slab: Move ctors/dtors to the slab layer

In the upcoming magazine code, objects in the slabs are unconstructed.
Right now, they'll be constructed on demand, but shortly they will be
sitting in the depot and in magazines.

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