freebsd-skq/sys/powerpc
Matthew D Fleming d7854da193 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
..
aim MFppc64: 2010-07-13 05:32:19 +00:00
booke Eliminate FDT_IMMR_VA define. 2010-07-19 18:47:18 +00:00
compile
conf Add MALLOC_DEBUG_MAXZONES debug malloc(9) option to use multiple uma 2010-07-28 15:36:12 +00:00
cpufreq MFppc64: 2010-07-13 05:32:19 +00:00
fpu The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:07:02 +00:00
include Very rough first cut at NUMA support for the physical page allocator. For 2010-07-27 20:33:50 +00:00
mpc85xx Convert Freescale PowerPC platforms to FDT convention. 2010-07-11 21:08:29 +00:00
ofw Make ofw_syscons work on 64-bit systems. 2010-07-08 14:40:46 +00:00
powermac Fix printf specifier to allow 32/64 bit builds. 2010-07-12 21:09:55 +00:00
powerpc MFppc64: 2010-07-13 05:32:19 +00:00
psim Remove the unneeded header <machine/intr.h>. 2010-07-02 02:17:39 +00:00