Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2018 15:29:40 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r340630 - in stable/12/sys: amd64/conf riscv/conf
Message-ID:  <201811191529.wAJFTeDA098576@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Mon Nov 19 15:29:40 2018
New Revision: 340630
URL: https://svnweb.freebsd.org/changeset/base/340630

Log:
  Remove debugging options from amd64 MINIMAL [1] and riscv GENERIC
  kernel configuration files.  This should have been turned off when
  stable/12 branched.
  
  This is a direct commit to stable/12.
  
  Submitted by:   Harry Schmalzbauer [1]
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/12/sys/amd64/conf/MINIMAL
  stable/12/sys/riscv/conf/GENERIC

Modified: stable/12/sys/amd64/conf/MINIMAL
==============================================================================
--- stable/12/sys/amd64/conf/MINIMAL	Mon Nov 19 15:18:30 2018	(r340629)
+++ stable/12/sys/amd64/conf/MINIMAL	Mon Nov 19 15:29:40 2018	(r340630)
@@ -82,15 +82,6 @@ options 	INCLUDE_CONFIG_FILE	# Include this file in ke
 # Debugging support.  Always need this:
 options 	KDB			# Enable kernel debugger support.
 options 	KDB_TRACE		# Print a stack trace for a panic.
-# For full debugger support use (turn off in stable branch):
-options 	DDB			# Support DDB.
-options 	GDB			# Support remote GDB.
-options 	DEADLKRES		# Enable the deadlock resolver
-options 	INVARIANTS		# Enable calls of extra sanity checking
-options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
-options 	WITNESS			# Enable checks to detect deadlocks and cycles
-options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
-options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
 
 # Make an SMP-capable kernel by default
 options 	SMP			# Symmetric MultiProcessor Kernel

Modified: stable/12/sys/riscv/conf/GENERIC
==============================================================================
--- stable/12/sys/riscv/conf/GENERIC	Mon Nov 19 15:18:30 2018	(r340629)
+++ stable/12/sys/riscv/conf/GENERIC	Mon Nov 19 15:29:40 2018	(r340630)
@@ -114,17 +114,6 @@ device		uart_ns8250	# ns8250-type UART driver
 # Debugging support.  Always need this:
 options 	KDB			# Enable kernel debugger support.
 options 	KDB_TRACE		# Print a stack trace for a panic.
-# For full debugger support use (turn off in stable branch):
-options 	DDB			# Support DDB.
-# options 	GDB			# Support remote GDB.
-options 	DEADLKRES		# Enable the deadlock resolver
-options 	INVARIANTS		# Enable calls of extra sanity checking
-options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
-# options 	WITNESS			# Enable checks to detect deadlocks and cycles
-# options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
-options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones
-# options 	EARLY_PRINTF
-# options 	VERBOSE_SYSINIT
 
 # Kernel dump features.
 options		ZSTDIO			# zstd-compressed kernel and user dumps



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811191529.wAJFTeDA098576>