aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2019-11-18 20:03:28 +0000
committerMark Johnston <markj@FreeBSD.org>2019-11-18 20:03:28 +0000
commit85e06c728c68131e155a5e7138bec7f300d82433 (patch)
tree202babae3e252b2d496861c124fe0c10b77a1319 /sys/sparc64
parent6cd7d8a6488ff7cb8173937443a2c1c374f5d658 (diff)
downloadsrc-85e06c728c68131e155a5e7138bec7f300d82433.tar.gz
src-85e06c728c68131e155a5e7138bec7f300d82433.zip
Set MALLOC_DEBUG_MAXZONES=1 in GENERIC-NODEBUG configurations.
The purpose of this option is to make it easier to track down memory corruption bugs by reducing the number of malloc(9) types that might have recently been associated with a given chunk of memory. However, it increases fragmentation and is disabled in release kernels. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=354826
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/conf/GENERIC-NODEBUG2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/conf/GENERIC-NODEBUG b/sys/sparc64/conf/GENERIC-NODEBUG
index ce4d097d2d75..863c2a79194e 100644
--- a/sys/sparc64/conf/GENERIC-NODEBUG
+++ b/sys/sparc64/conf/GENERIC-NODEBUG
@@ -35,4 +35,4 @@ nooptions INVARIANT_SUPPORT
nooptions WITNESS
nooptions WITNESS_SKIPSPIN
nooptions DEADLKRES
-
+nooptions MALLOC_DEBUG_MAXZONES