svn commit: r340630 - in stable/12/sys: amd64/conf riscv/conf

Glen Barber gjb at FreeBSD.org
Mon Nov 19 15:29:41 UTC 2018


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


More information about the svn-src-all mailing list