Add a sysctl, debug.use_malloc_pattern, that explicitly initializes data
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 3 Jun 2005 22:55:58 +0000 (22:55 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 3 Jun 2005 22:55:58 +0000 (22:55 +0000)
commitd2182dc1048a9819f30e37925ea4fd9232e6b1d6
tree0434a7985ecfeb09ce5838a6ab380ddd7c3020f2
parentabe2ad7c58773d1f907968283b9fdfff4de3dd33
Add a sysctl, debug.use_malloc_pattern, that explicitly initializes data
buffers allocated WITHOUT M_ZERO to -1 rather then leaving prior garbage
intact.  Works with INVARIANTS builds only.
sys/kern/kern_slaballoc.c