Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2018 00:24:23 +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: r339435 - in stable/12: . contrib/jemalloc/include/jemalloc lib/libc/locale libexec/rc release sys/amd64/conf sys/arm/conf sys/arm64/conf sys/conf sys/i386/conf sys/powerpc/conf sys/spa...
Message-ID:  <201810190024.w9J0ONUI026241@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Fri Oct 19 00:24:23 2018
New Revision: 339435
URL: https://svnweb.freebsd.org/changeset/base/339435

Log:
  - Prune svn:mergeinfo from the new branch, as nothing has been merged
    here.
  - Remove debugging from GENERIC* kernel configurations
  - Enable MALLOC_PRODUCTION
  - Default dumpdev=NO
  - Remove UPDATING entry regarding debugging features
  - Switch 12.0 from -ALPHA10 to -BETA1 to prepare for builds.
  
  Approved by:	re (implicit)
  Sponsored by:	The FreeBSD Foundation

Deleted:
  stable/12/sys/amd64/conf/GENERIC-NODEBUG
  stable/12/sys/arm/conf/GENERIC-NODEBUG
  stable/12/sys/arm64/conf/GENERIC-NODEBUG
  stable/12/sys/i386/conf/GENERIC-NODEBUG
  stable/12/sys/powerpc/conf/GENERIC-NODEBUG
  stable/12/sys/powerpc/conf/GENERIC64-NODEBUG
  stable/12/sys/sparc64/conf/GENERIC-NODEBUG
Modified:
  stable/12/UPDATING
  stable/12/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h
  stable/12/libexec/rc/rc.conf
  stable/12/release/release.conf.sample
  stable/12/sys/amd64/conf/GENERIC
  stable/12/sys/arm64/conf/GENERIC
  stable/12/sys/conf/newvers.sh
  stable/12/sys/i386/conf/GENERIC
  stable/12/sys/powerpc/conf/GENERIC
  stable/12/sys/powerpc/conf/GENERIC64
  stable/12/sys/sparc64/conf/GENERIC
Directory Properties:
  stable/12/   (props changed)
  stable/12/MAINTAINERS   (props changed)
  stable/12/cddl/   (props changed)
  stable/12/cddl/contrib/opensolaris/   (props changed)
  stable/12/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/print/   (props changed)
  stable/12/cddl/contrib/opensolaris/cmd/zdb/   (props changed)
  stable/12/cddl/contrib/opensolaris/cmd/zfs/   (props changed)
  stable/12/cddl/contrib/opensolaris/lib/libzfs/   (props changed)
  stable/12/contrib/amd/   (props changed)
  stable/12/contrib/apr/   (props changed)
  stable/12/contrib/apr-util/   (props changed)
  stable/12/contrib/atf/   (props changed)
  stable/12/contrib/binutils/   (props changed)
  stable/12/contrib/blacklist/   (props changed)
  stable/12/contrib/bmake/   (props changed)
  stable/12/contrib/byacc/   (props changed)
  stable/12/contrib/bzip2/   (props changed)
  stable/12/contrib/com_err/   (props changed)
  stable/12/contrib/compiler-rt/   (props changed)
  stable/12/contrib/dialog/   (props changed)
  stable/12/contrib/dma/   (props changed)
  stable/12/contrib/dtc/   (props changed)
  stable/12/contrib/ee/   (props changed)
  stable/12/contrib/elftoolchain/   (props changed)
  stable/12/contrib/elftoolchain/ar/   (props changed)
  stable/12/contrib/elftoolchain/brandelf/   (props changed)
  stable/12/contrib/elftoolchain/elfdump/   (props changed)
  stable/12/contrib/expat/   (props changed)
  stable/12/contrib/file/   (props changed)
  stable/12/contrib/gcc/   (props changed)
  stable/12/contrib/gcclibs/libgomp/   (props changed)
  stable/12/contrib/gdb/   (props changed)
  stable/12/contrib/gdtoa/   (props changed)
  stable/12/contrib/ipfilter/   (props changed)
  stable/12/contrib/ldns/   (props changed)
  stable/12/contrib/ldns-host/   (props changed)
  stable/12/contrib/less/   (props changed)
  stable/12/contrib/libarchive/   (props changed)
  stable/12/contrib/libc++/   (props changed)
  stable/12/contrib/libc-vis/   (props changed)
  stable/12/contrib/libcxxrt/   (props changed)
  stable/12/contrib/libexecinfo/   (props changed)
  stable/12/contrib/libstdc++/   (props changed)
  stable/12/contrib/libucl/   (props changed)
  stable/12/contrib/libxo/   (props changed)
  stable/12/contrib/llvm/   (props changed)
  stable/12/contrib/llvm/projects/libunwind/   (props changed)
  stable/12/contrib/llvm/tools/clang/   (props changed)
  stable/12/contrib/llvm/tools/lld/   (props changed)
  stable/12/contrib/llvm/tools/lldb/   (props changed)
  stable/12/contrib/lua/   (props changed)
  stable/12/contrib/mandoc/   (props changed)
  stable/12/contrib/mtree/   (props changed)
  stable/12/contrib/ncurses/   (props changed)
  stable/12/contrib/netbsd-tests/   (props changed)
  stable/12/contrib/netcat/   (props changed)
  stable/12/contrib/ntp/   (props changed)
  stable/12/contrib/nvi/   (props changed)
  stable/12/contrib/one-true-awk/   (props changed)
  stable/12/contrib/openbsm/   (props changed)
  stable/12/contrib/openpam/   (props changed)
  stable/12/contrib/openresolv/   (props changed)
  stable/12/contrib/pf/   (props changed)
  stable/12/contrib/pjdfstest/   (props changed)
  stable/12/contrib/sendmail/   (props changed)
  stable/12/contrib/serf/   (props changed)
  stable/12/contrib/sqlite3/   (props changed)
  stable/12/contrib/subversion/   (props changed)
  stable/12/contrib/tcpdump/   (props changed)
  stable/12/contrib/tcsh/   (props changed)
  stable/12/contrib/tnftp/   (props changed)
  stable/12/contrib/tzcode/stdtime/   (props changed)
  stable/12/contrib/tzcode/zic/   (props changed)
  stable/12/contrib/tzdata/   (props changed)
  stable/12/contrib/unbound/   (props changed)
  stable/12/contrib/vis/   (props changed)
  stable/12/contrib/wpa/   (props changed)
  stable/12/contrib/xz/   (props changed)
  stable/12/contrib/zlib/   (props changed)
  stable/12/crypto/heimdal/   (props changed)
  stable/12/crypto/openssh/   (props changed)
  stable/12/crypto/openssl/   (props changed)
  stable/12/gnu/lib/   (props changed)
  stable/12/gnu/usr.bin/binutils/   (props changed)
  stable/12/gnu/usr.bin/cc/cc_tools/   (props changed)
  stable/12/gnu/usr.bin/gdb/   (props changed)
  stable/12/lib/libc/locale/ascii.c   (props changed)
  stable/12/lib/libedit/   (props changed)
  stable/12/lib/libedit/edit/readline/   (props changed)
  stable/12/sys/cddl/contrib/opensolaris/   (props changed)
  stable/12/sys/contrib/ck/   (props changed)
  stable/12/sys/contrib/dev/acpica/   (props changed)
  stable/12/sys/contrib/ena-com/   (props changed)
  stable/12/sys/contrib/ipfilter/   (props changed)
  stable/12/sys/contrib/libfdt/   (props changed)
  stable/12/sys/contrib/octeon-sdk/   (props changed)
  stable/12/sys/contrib/x86emu/   (props changed)
  stable/12/sys/contrib/xz-embedded/   (props changed)
  stable/12/sys/contrib/zstd/   (props changed)
  stable/12/sys/gnu/dts/arm/   (props changed)
  stable/12/sys/gnu/dts/arm64/   (props changed)
  stable/12/sys/gnu/dts/include/   (props changed)
  stable/12/usr.sbin/bhyve/atkbdc.h   (props changed)
  stable/12/usr.sbin/bhyve/bhyvegc.c   (props changed)
  stable/12/usr.sbin/bhyve/bhyvegc.h   (props changed)
  stable/12/usr.sbin/bhyve/console.c   (props changed)
  stable/12/usr.sbin/bhyve/console.h   (props changed)
  stable/12/usr.sbin/bhyve/pci_fbuf.c   (props changed)
  stable/12/usr.sbin/bhyve/pci_xhci.c   (props changed)
  stable/12/usr.sbin/bhyve/pci_xhci.h   (props changed)
  stable/12/usr.sbin/bhyve/ps2kbd.c   (props changed)
  stable/12/usr.sbin/bhyve/ps2kbd.h   (props changed)
  stable/12/usr.sbin/bhyve/ps2mouse.c   (props changed)
  stable/12/usr.sbin/bhyve/ps2mouse.h   (props changed)
  stable/12/usr.sbin/bhyve/rfb.c   (props changed)
  stable/12/usr.sbin/bhyve/rfb.h   (props changed)
  stable/12/usr.sbin/bhyve/sockstream.c   (props changed)
  stable/12/usr.sbin/bhyve/sockstream.h   (props changed)
  stable/12/usr.sbin/bhyve/usb_emul.c   (props changed)
  stable/12/usr.sbin/bhyve/usb_emul.h   (props changed)
  stable/12/usr.sbin/bhyve/usb_mouse.c   (props changed)
  stable/12/usr.sbin/bhyve/vga.c   (props changed)
  stable/12/usr.sbin/bhyve/vga.h   (props changed)

Modified: stable/12/UPDATING
==============================================================================
--- stable/12/UPDATING	Fri Oct 19 00:09:24 2018	(r339434)
+++ stable/12/UPDATING	Fri Oct 19 00:24:23 2018	(r339435)
@@ -16,20 +16,9 @@ from older versions of FreeBSD, try WITHOUT_CLANG and 
 the tip of head, and then rebuild without this option. The bootstrap process
 from older version of current across the gcc/clang cutover is a bit fragile.
 
-NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW:
-	FreeBSD 12.x has many debugging features turned on, in both the kernel
-	and userland.  These features attempt to detect incorrect use of
-	system primitives, and encourage loud failure through extra sanity
-	checking and fail stop semantics.  They also substantially impact
-	system performance.  If you want to do performance measurement,
-	benchmarking, and optimization, you'll want to turn them off.  This
-	includes various WITNESS- related kernel options, INVARIANTS, malloc
-	debugging flags in userland, and various verbose features in the
-	kernel.  Many developers choose to disable these features on build
-	machines to maximize performance.  (To completely disable malloc
-	debugging, define MALLOC_PRODUCTION in /etc/make.conf, or to merely
-	disable the most expensive debugging functionality run
-	"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
+20181019:
+	The stable/12 branch has been created in subversion from head
+	revision r339432.
 
 20181009:
 	OpenSSL has been updated to version 1.1.1.  This update included

Modified: stable/12/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h
==============================================================================
--- stable/12/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h	Fri Oct 19 00:09:24 2018	(r339434)
+++ stable/12/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h	Fri Oct 19 00:24:23 2018	(r339435)
@@ -5,7 +5,7 @@
 #undef JEMALLOC_OVERRIDE_VALLOC
 
 #ifndef MALLOC_PRODUCTION
-#define	JEMALLOC_DEBUG
+#define	MALLOC_PRODUCTION
 #endif
 
 #undef JEMALLOC_DSS

Modified: stable/12/libexec/rc/rc.conf
==============================================================================
--- stable/12/libexec/rc/rc.conf	Fri Oct 19 00:09:24 2018	(r339434)
+++ stable/12/libexec/rc/rc.conf	Fri Oct 19 00:24:23 2018	(r339435)
@@ -609,7 +609,7 @@ lpd_flags=""		# Flags to lpd (if enabled).
 nscd_enable="NO"	# Run the nsswitch caching daemon.
 chkprintcap_enable="NO"	# Run chkprintcap(8) before running lpd.
 chkprintcap_flags="-d"	# Create missing directories by default.
-dumpdev="AUTO"		# Device to crashdump to (device name, AUTO, or NO).
+dumpdev="NO"		# Device to crashdump to (device name, AUTO, or NO).
 dumpon_flags=""		# Options to pass to dumpon(8), followed by dumpdev.
 dumpdir="/var/crash"	# Directory where crash dumps are to be stored
 savecore_enable="YES"	# Extract core from dump devices if any

Modified: stable/12/release/release.conf.sample
==============================================================================
--- stable/12/release/release.conf.sample	Fri Oct 19 00:09:24 2018	(r339434)
+++ stable/12/release/release.conf.sample	Fri Oct 19 00:24:23 2018	(r339435)
@@ -16,7 +16,7 @@ CHROOTDIR="/scratch"
 SVNROOT="svn://svn.FreeBSD.org/"
 
 ## Set the src/, ports/, and doc/ branches or tags.
-SRCBRANCH="base/head@rHEAD"
+SRCBRANCH="base/stable/12@rHEAD"
 DOCBRANCH="doc/head@rHEAD"
 PORTBRANCH="ports/head@rHEAD"
 

Modified: stable/12/sys/amd64/conf/GENERIC
==============================================================================
--- stable/12/sys/amd64/conf/GENERIC	Fri Oct 19 00:09:24 2018	(r339434)
+++ stable/12/sys/amd64/conf/GENERIC	Fri Oct 19 00:24:23 2018	(r339435)
@@ -88,17 +88,6 @@ options 	RCTL			# Resource limits
 # 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 	BUF_TRACKING		# Track buffer history
-options 	DDB			# Support DDB.
-options 	FULL_BUF_TRACKING	# Track more buffer history
-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
 
 # Kernel dump features.
 options 	EKCD			# Support for encrypted kernel dumps

Modified: stable/12/sys/arm64/conf/GENERIC
==============================================================================
--- stable/12/sys/arm64/conf/GENERIC	Fri Oct 19 00:09:24 2018	(r339434)
+++ stable/12/sys/arm64/conf/GENERIC	Fri Oct 19 00:24:23 2018	(r339435)
@@ -80,17 +80,6 @@ options 	INTRNG
 # 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 	ALT_BREAK_TO_DEBUGGER	# Enter debugger on keyboard escape sequence
-options 	USB_DEBUG		# enable debug msgs
 
 # Kernel dump features.
 options 	EKCD			# Support for encrypted kernel dumps

Modified: stable/12/sys/conf/newvers.sh
==============================================================================
--- stable/12/sys/conf/newvers.sh	Fri Oct 19 00:09:24 2018	(r339434)
+++ stable/12/sys/conf/newvers.sh	Fri Oct 19 00:24:23 2018	(r339435)
@@ -46,7 +46,7 @@
 
 TYPE="FreeBSD"
 REVISION="12.0"
-BRANCH="ALPHA10"
+BRANCH="BETA1"
 if [ -n "${BRANCH_OVERRIDE}" ]; then
 	BRANCH=${BRANCH_OVERRIDE}
 fi

Modified: stable/12/sys/i386/conf/GENERIC
==============================================================================
--- stable/12/sys/i386/conf/GENERIC	Fri Oct 19 00:09:24 2018	(r339434)
+++ stable/12/sys/i386/conf/GENERIC	Fri Oct 19 00:24:23 2018	(r339435)
@@ -84,15 +84,6 @@ options 	RCTL			# Resource limits
 # 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
 
 # Kernel dump features.
 options 	EKCD			# Support for encrypted kernel dumps

Modified: stable/12/sys/powerpc/conf/GENERIC
==============================================================================
--- stable/12/sys/powerpc/conf/GENERIC	Fri Oct 19 00:09:24 2018	(r339434)
+++ stable/12/sys/powerpc/conf/GENERIC	Fri Oct 19 00:24:23 2018	(r339435)
@@ -90,14 +90,6 @@ options 	RCTL			# Resource limits
 # 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 	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
 
 # Kernel dump features.
 options 	EKCD			# Support for encrypted kernel dumps

Modified: stable/12/sys/powerpc/conf/GENERIC64
==============================================================================
--- stable/12/sys/powerpc/conf/GENERIC64	Fri Oct 19 00:09:24 2018	(r339434)
+++ stable/12/sys/powerpc/conf/GENERIC64	Fri Oct 19 00:24:23 2018	(r339435)
@@ -87,14 +87,6 @@ options 	INCLUDE_CONFIG_FILE     # Include this file i
 # 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 	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
 
 # Kernel dump features.
 options 	EKCD			# Support for encrypted kernel dumps

Modified: stable/12/sys/sparc64/conf/GENERIC
==============================================================================
--- stable/12/sys/sparc64/conf/GENERIC	Fri Oct 19 00:09:24 2018	(r339434)
+++ stable/12/sys/sparc64/conf/GENERIC	Fri Oct 19 00:24:23 2018	(r339435)
@@ -79,15 +79,6 @@ options 	RCTL			# Resource limits
 # 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
 
 # Kernel dump features.
 options 	EKCD			# Support for encrypted kernel dumps



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