Allow M_ZERO to be specified when using simple object cache setups which
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 2 Dec 2006 22:17:22 +0000 (22:17 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 2 Dec 2006 22:17:22 +0000 (22:17 +0000)
commitb2560af1ee7048604ede02bd62b6cb1e191a7b94
treee0c762f3e7ae75735502f852fab418cc6212a497
parenta9d3729a899d461fb969a1efe28c6249659f3bc7
Allow M_ZERO to be specified when using simple object cache setups which
do not have a ctor or dtor function.  Panic the system if M_ZERO is used
with more complex object setups.

Suggested-by: Thomas E. Spanjaard
sys/kern/kern_objcache.c