freebsd-skq/sys/sparc64/conf
mdf 6857471cf3 Add MALLOC_DEBUG_MAXZONES debug malloc(9) option to use multiple uma
zones for each malloc bucket size.  The purpose is to isolate
different malloc types into hash classes, so that any buffer overruns
or use-after-free will usually only affect memory from malloc types in
that hash class.  This is purely a debugging tool; by varying the hash
function and tracking which hash class was corrupted, the intersection
of the hash classes from each instance will point to a single malloc
type that is being misused.  At this point inspection or memguard(9)
can be used to catch the offending code.

Add MALLOC_DEBUG_MAXZONES=8 to -current GENERIC configuration files.
The suggestion to have this on by default came from Kostik Belousov on
-arch.

This code is based on work by Ron Steinke at Isilon Systems.

Reviewed by:    -arch (mostly silence)
Reviewed by:    zml
Approved by:    zml (mentor)
2010-07-28 15:36:12 +00:00
..
.cvsignore
DEFAULTS Revert 200594. This file isn't intended for these sorts of things. 2010-01-04 21:30:04 +00:00
GENERIC Add MALLOC_DEBUG_MAXZONES debug malloc(9) option to use multiple uma 2010-07-28 15:36:12 +00:00
GENERIC.hints
Makefile In sys/<arch>/conf/Makefile set TARGET to <arch>. That allows 2010-01-08 18:57:31 +00:00
NOTES Add sbbc(4), a driver for the BootBus controller found in Serengeti and 2010-04-10 11:52:12 +00:00