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
This commit is contained in:
parent
6cd7d8a648
commit
85e06c728c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=354826
@ -39,3 +39,4 @@ nooptions DEADLKRES
|
||||
nooptions FULL_BUF_TRACKING
|
||||
nooptions COVERAGE
|
||||
nooptions KCOV
|
||||
nooptions MALLOC_DEBUG_MAXZONES
|
||||
|
@ -35,4 +35,4 @@ nooptions INVARIANT_SUPPORT
|
||||
nooptions WITNESS
|
||||
nooptions WITNESS_SKIPSPIN
|
||||
nooptions DEADLKRES
|
||||
|
||||
nooptions MALLOC_DEBUG_MAXZONES
|
||||
|
@ -38,3 +38,4 @@ nooptions DEADLKRES
|
||||
nooptions USB_DEBUG
|
||||
nooptions COVERAGE
|
||||
nooptions KCOV
|
||||
nooptions MALLOC_DEBUG_MAXZONES
|
||||
|
@ -35,4 +35,4 @@ nooptions INVARIANT_SUPPORT
|
||||
nooptions WITNESS
|
||||
nooptions WITNESS_SKIPSPIN
|
||||
nooptions DEADLKRES
|
||||
|
||||
nooptions MALLOC_DEBUG_MAXZONES
|
||||
|
@ -35,4 +35,4 @@ nooptions INVARIANT_SUPPORT
|
||||
nooptions WITNESS
|
||||
nooptions WITNESS_SKIPSPIN
|
||||
nooptions DEADLKRES
|
||||
|
||||
nooptions MALLOC_DEBUG_MAXZONES
|
||||
|
@ -35,3 +35,4 @@ nooptions INVARIANT_SUPPORT
|
||||
nooptions WITNESS
|
||||
nooptions WITNESS_SKIPSPIN
|
||||
nooptions DEADLKRES
|
||||
nooptions MALLOC_DEBUG_MAXZONES
|
||||
|
@ -35,4 +35,4 @@ nooptions INVARIANT_SUPPORT
|
||||
nooptions WITNESS
|
||||
nooptions WITNESS_SKIPSPIN
|
||||
nooptions DEADLKRES
|
||||
|
||||
nooptions MALLOC_DEBUG_MAXZONES
|
||||
|
Loading…
Reference in New Issue
Block a user