Date: Mon, 18 Nov 2019 20:03:28 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r354826 - in head/sys: amd64/conf arm/conf arm64/conf i386/conf powerpc/conf sparc64/conf Message-ID: <201911182003.xAIK3SOb003384@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Mon Nov 18 20:03:28 2019 New Revision: 354826 URL: https://svnweb.freebsd.org/changeset/base/354826 Log: 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 Modified: head/sys/amd64/conf/GENERIC-NODEBUG head/sys/arm/conf/GENERIC-NODEBUG head/sys/arm64/conf/GENERIC-NODEBUG head/sys/i386/conf/GENERIC-NODEBUG head/sys/powerpc/conf/GENERIC-NODEBUG head/sys/powerpc/conf/GENERIC64-NODEBUG head/sys/sparc64/conf/GENERIC-NODEBUG Modified: head/sys/amd64/conf/GENERIC-NODEBUG ============================================================================== --- head/sys/amd64/conf/GENERIC-NODEBUG Mon Nov 18 19:28:09 2019 (r354825) +++ head/sys/amd64/conf/GENERIC-NODEBUG Mon Nov 18 20:03:28 2019 (r354826) @@ -39,3 +39,4 @@ nooptions DEADLKRES nooptions FULL_BUF_TRACKING nooptions COVERAGE nooptions KCOV +nooptions MALLOC_DEBUG_MAXZONES Modified: head/sys/arm/conf/GENERIC-NODEBUG ============================================================================== --- head/sys/arm/conf/GENERIC-NODEBUG Mon Nov 18 19:28:09 2019 (r354825) +++ head/sys/arm/conf/GENERIC-NODEBUG Mon Nov 18 20:03:28 2019 (r354826) @@ -35,4 +35,4 @@ nooptions INVARIANT_SUPPORT nooptions WITNESS nooptions WITNESS_SKIPSPIN nooptions DEADLKRES - +nooptions MALLOC_DEBUG_MAXZONES Modified: head/sys/arm64/conf/GENERIC-NODEBUG ============================================================================== --- head/sys/arm64/conf/GENERIC-NODEBUG Mon Nov 18 19:28:09 2019 (r354825) +++ head/sys/arm64/conf/GENERIC-NODEBUG Mon Nov 18 20:03:28 2019 (r354826) @@ -38,3 +38,4 @@ nooptions DEADLKRES nooptions USB_DEBUG nooptions COVERAGE nooptions KCOV +nooptions MALLOC_DEBUG_MAXZONES Modified: head/sys/i386/conf/GENERIC-NODEBUG ============================================================================== --- head/sys/i386/conf/GENERIC-NODEBUG Mon Nov 18 19:28:09 2019 (r354825) +++ head/sys/i386/conf/GENERIC-NODEBUG Mon Nov 18 20:03:28 2019 (r354826) @@ -35,4 +35,4 @@ nooptions INVARIANT_SUPPORT nooptions WITNESS nooptions WITNESS_SKIPSPIN nooptions DEADLKRES - +nooptions MALLOC_DEBUG_MAXZONES Modified: head/sys/powerpc/conf/GENERIC-NODEBUG ============================================================================== --- head/sys/powerpc/conf/GENERIC-NODEBUG Mon Nov 18 19:28:09 2019 (r354825) +++ head/sys/powerpc/conf/GENERIC-NODEBUG Mon Nov 18 20:03:28 2019 (r354826) @@ -35,4 +35,4 @@ nooptions INVARIANT_SUPPORT nooptions WITNESS nooptions WITNESS_SKIPSPIN nooptions DEADLKRES - +nooptions MALLOC_DEBUG_MAXZONES Modified: head/sys/powerpc/conf/GENERIC64-NODEBUG ============================================================================== --- head/sys/powerpc/conf/GENERIC64-NODEBUG Mon Nov 18 19:28:09 2019 (r354825) +++ head/sys/powerpc/conf/GENERIC64-NODEBUG Mon Nov 18 20:03:28 2019 (r354826) @@ -35,3 +35,4 @@ nooptions INVARIANT_SUPPORT nooptions WITNESS nooptions WITNESS_SKIPSPIN nooptions DEADLKRES +nooptions MALLOC_DEBUG_MAXZONES Modified: head/sys/sparc64/conf/GENERIC-NODEBUG ============================================================================== --- head/sys/sparc64/conf/GENERIC-NODEBUG Mon Nov 18 19:28:09 2019 (r354825) +++ head/sys/sparc64/conf/GENERIC-NODEBUG Mon Nov 18 20:03:28 2019 (r354826) @@ -35,4 +35,4 @@ nooptions INVARIANT_SUPPORT nooptions WITNESS nooptions WITNESS_SKIPSPIN nooptions DEADLKRES - +nooptions MALLOC_DEBUG_MAXZONES
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911182003.xAIK3SOb003384>