slab: add __kmem_cache_destroy()
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 27 Sep 2019 15:22:26 +0000 (11:22 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 8 Oct 2019 21:11:11 +0000 (17:11 -0400)
commit6715261adf02cdbed1e4a18b8160f7f56c134849
tree308825b811940b7398ed4ad5e20761e94ef67ceb
parent47453c5a6511acda46e5c4dae291be462ab25c0c
slab: add __kmem_cache_destroy()

Like __kmem_cache_create(), it operates on a KC whose memory is managed
by the caller.

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