freebsd-dev/sys/ia64
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
..
acpica Add acpi_find_table() -- a convenience function for looking up an 2010-07-07 20:07:33 +00:00
compile
conf Add MALLOC_DEBUG_MAXZONES debug malloc(9) option to use multiple uma 2010-07-28 15:36:12 +00:00
disasm Fix disassembly of the invala, itc, itr and hint instructions 2007-10-16 02:49:40 +00:00
ia32 Change ia64' struct syscall_args definition so that args is a pointer to 2010-05-24 17:24:14 +00:00
ia64 Remove pointless BOOTP conditional. 2010-07-07 19:34:48 +00:00
include Very rough first cut at NUMA support for the physical page allocator. For 2010-07-27 20:33:50 +00:00
isa Remove isa_irq_pending(). It's not used. 2009-04-24 03:43:20 +00:00
pci Disable interrupts when calling into SAL for PCI configuration 2010-03-22 03:06:11 +00:00