slab: Warn when creating multiple caches with the same name
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 9 Oct 2018 20:12:16 +0000 (16:12 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 9 Oct 2018 21:45:56 +0000 (17:45 -0400)
commitdbeec102964d68ba78c3d2d8364fa0ee9616ab03
tree533322b537fc6aef8b960a55379aa7002d035db3
parent8d7c40f429bded39787d6bfd043c87cd71ae9418
slab: Warn when creating multiple caches with the same name

Tracing infrastructure will look up caches by name.  If there is a
collision, we will only be able to trace the first one.

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