svn commit: r256283 - in stable/10: . contrib/jemalloc/include/jemalloc etc/defaults sys/amd64/conf sys/i386/conf sys/ia64/conf sys/powerpc/conf sys/sparc64/conf sys/sys
Glen Barber
gjb at FreeBSD.org
Thu Oct 10 17:59:47 UTC 2013
Author: gjb
Date: Thu Oct 10 17:59:44 2013
New Revision: 256283
URL: http://svnweb.freebsd.org/changeset/base/256283
Log:
- Remove debugging from GENERIC* kernel configurations
- Enable MALLOC_PRODUCTION
- Default dumpdev=NO
- Remove UPDATING entry regarding debugging features
- Bump __FreeBSD_version to 1000500
Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation
Modified:
stable/10/UPDATING
stable/10/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h
stable/10/etc/defaults/rc.conf
stable/10/sys/amd64/conf/GENERIC
stable/10/sys/i386/conf/GENERIC
stable/10/sys/ia64/conf/GENERIC
stable/10/sys/powerpc/conf/GENERIC
stable/10/sys/powerpc/conf/GENERIC64
stable/10/sys/sparc64/conf/GENERIC
stable/10/sys/sys/param.h
Modified: stable/10/UPDATING
==============================================================================
--- stable/10/UPDATING Thu Oct 10 17:58:10 2013 (r256282)
+++ stable/10/UPDATING Thu Oct 10 17:59:44 2013 (r256283)
@@ -13,24 +13,9 @@ Items affecting the ports and packages s
NOTE: FreeBSD has switched from gcc to clang. If you have trouble bootstrapping
from older versions of FreeBSD, try WITHOUT_CLANG to bootstrap to the tip of
-head, and then rebuild without this option. The bootstrap process from
+stable/10, and then rebuild without this option. The bootstrap process from
older version of current is a bit fragile.
-NOTE TO PEOPLE WHO THINK THAT FreeBSD 10.x IS SLOW:
- FreeBSD 10.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".)
-
20131010:
The rc.d/jail script has been updated to support jail(8)
configuration file. The "jail_<jname>_*" rc.conf(5) variables
Modified: stable/10/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h
==============================================================================
--- stable/10/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h Thu Oct 10 17:58:10 2013 (r256282)
+++ stable/10/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h Thu Oct 10 17:59:44 2013 (r256283)
@@ -4,6 +4,8 @@
#undef JEMALLOC_OVERRIDE_VALLOC
+#define MALLOC_PRODUCTION
+
#ifndef MALLOC_PRODUCTION
#define JEMALLOC_DEBUG
#endif
Modified: stable/10/etc/defaults/rc.conf
==============================================================================
--- stable/10/etc/defaults/rc.conf Thu Oct 10 17:58:10 2013 (r256282)
+++ stable/10/etc/defaults/rc.conf Thu Oct 10 17:59:44 2013 (r256283)
@@ -604,7 +604,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).
dumpdir="/var/crash" # Directory where crash dumps are to be stored
savecore_flags="-m 10" # Used if dumpdev is enabled above, and present.
# By default, only the 10 most recent kernel dumps
Modified: stable/10/sys/amd64/conf/GENERIC
==============================================================================
--- stable/10/sys/amd64/conf/GENERIC Thu Oct 10 17:58:10 2013 (r256282)
+++ stable/10/sys/amd64/conf/GENERIC Thu Oct 10 17:59:44 2013 (r256283)
@@ -77,15 +77,6 @@ options XENHVM # Include Xen support
# 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/10/sys/i386/conf/GENERIC
==============================================================================
--- stable/10/sys/i386/conf/GENERIC Thu Oct 10 17:58:10 2013 (r256282)
+++ stable/10/sys/i386/conf/GENERIC Thu Oct 10 17:59:44 2013 (r256283)
@@ -77,15 +77,6 @@ options XENHVM # Include Xen support
# 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
# To make an SMP kernel, the next two lines are needed
options SMP # Symmetric MultiProcessor Kernel
Modified: stable/10/sys/ia64/conf/GENERIC
==============================================================================
--- stable/10/sys/ia64/conf/GENERIC Thu Oct 10 17:58:10 2013 (r256282)
+++ stable/10/sys/ia64/conf/GENERIC Thu Oct 10 17:59:44 2013 (r256283)
@@ -67,15 +67,6 @@ options _KPOSIX_PRIORITY_SCHEDULING # P
# 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 # 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
# Various "busses"
device miibus # MII bus support (Ethernet)
Modified: stable/10/sys/powerpc/conf/GENERIC
==============================================================================
--- stable/10/sys/powerpc/conf/GENERIC Thu Oct 10 17:58:10 2013 (r256282)
+++ stable/10/sys/powerpc/conf/GENERIC Thu Oct 10 17:59:44 2013 (r256283)
@@ -79,14 +79,6 @@ options INCLUDE_CONFIG_FILE # Inclu
# 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
# Make an SMP-capable kernel by default
options SMP # Symmetric MultiProcessor Kernel
Modified: stable/10/sys/powerpc/conf/GENERIC64
==============================================================================
--- stable/10/sys/powerpc/conf/GENERIC64 Thu Oct 10 17:58:10 2013 (r256282)
+++ stable/10/sys/powerpc/conf/GENERIC64 Thu Oct 10 17:59:44 2013 (r256283)
@@ -76,14 +76,6 @@ options INCLUDE_CONFIG_FILE # Inclu
# 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
# Make an SMP-capable kernel by default
options SMP # Symmetric MultiProcessor Kernel
Modified: stable/10/sys/sparc64/conf/GENERIC
==============================================================================
--- stable/10/sys/sparc64/conf/GENERIC Thu Oct 10 17:58:10 2013 (r256282)
+++ stable/10/sys/sparc64/conf/GENERIC Thu Oct 10 17:59:44 2013 (r256283)
@@ -70,15 +70,6 @@ options INCLUDE_CONFIG_FILE # Include t
# 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/10/sys/sys/param.h
==============================================================================
--- stable/10/sys/sys/param.h Thu Oct 10 17:58:10 2013 (r256282)
+++ stable/10/sys/sys/param.h Thu Oct 10 17:59:44 2013 (r256283)
@@ -58,7 +58,7 @@
* in the range 5 to 9.
*/
#undef __FreeBSD_version
-#define __FreeBSD_version 1000055 /* Master, propagated to newvers */
+#define __FreeBSD_version 1000500 /* Master, propagated to newvers */
/*
* __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,
More information about the svn-src-all
mailing list