summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2002-04-30 07:54:25 +0000
committerjeff <jeff@FreeBSD.org>2002-04-30 07:54:25 +0000
commit21868731b084d3531fa8d1e49331719a427ff897 (patch)
tree1933c12e17d4de144c036ea868144a9d350ff76d /sys/conf
parent009ce05bfe3bd6bf626b80c1af34ea9d38fb180a (diff)
downloadFreeBSD-src-21868731b084d3531fa8d1e49331719a427ff897.zip
FreeBSD-src-21868731b084d3531fa8d1e49331719a427ff897.tar.gz
Add a new UMA debugging facility. This will overwrite freed memory with
0xdeadc0de and then check for it just before memory is handed off as part of a new request. This will catch any post free/pre alloc modification of memory, as well as introduce errors for anything that tries to dereference it as a pointer. This code takes the form of special init, fini, ctor and dtor routines that are specificly used by malloc. It is in a seperate file because additional debugging aids will want to live here as well.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 4367c88..605d654 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1371,4 +1371,5 @@ vm/vm_pager.c standard
vm/vm_swap.c standard
vm/vm_unix.c standard
vm/uma_core.c standard
+vm/uma_dbg.c standard
vm/vnode_pager.c standard
OpenPOWER on IntegriCloud