Why is DEADLKRES also excluded? It was designed to be safe to run in production without a noticeable perf hit.
On Tue, Dec 2, 2014 at 2:55 PM, George V. Neville-Neil <g...@freebsd.org> wrote: > Author: gnn > Date: Tue Dec 2 19:55:43 2014 > New Revision: 275422 > URL: https://svnweb.freebsd.org/changeset/base/275422 > > Log: > This configuration file removes several debugging options, including > WITNESS and INVARIANTS checking, which are known to have significant > performance impact on running systems. When benchmarking new features > this kernel should be used instead of the standard GENERIC. > This kernel configuration should never appear outside of the HEAD > of the FreeBSD tree. > > Added: > head/sys/amd64/conf/GENERIC-NODEBUG (contents, props changed) > head/sys/i386/conf/GENERIC-NODEBUG (contents, props changed) > head/sys/pc98/conf/GENERIC-NODEBUG (contents, props changed) > head/sys/powerpc/conf/GENERIC-NODEBUG (contents, props changed) > head/sys/sparc64/conf/GENERIC-NODEBUG (contents, props changed) > > Added: head/sys/amd64/conf/GENERIC-NODEBUG > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/sys/amd64/conf/GENERIC-NODEBUG Tue Dec 2 19:55:43 2014 > (r275422) > @@ -0,0 +1,38 @@ > +# > +# GENERIC-NODEBUG -- WITNESS and INVARIANTS free kernel configuration file > +# for FreeBSD/amd64 > +# > +# This configuration file removes several debugging options, including > +# WITNESS and INVARIANTS checking, which are known to have significant > +# performance impact on running systems. When benchmarking new features > +# this kernel should be used instead of the standard GENERIC. > +# This kernel configuration should never appear outside of the HEAD > +# of the FreeBSD tree. > +# > +# For more information on this file, please read the config(5) manual page, > +# and/or the handbook section on Kernel Configuration Files: > +# > +# > http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html > +# > +# The handbook is also available locally in /usr/share/doc/handbook > +# if you've installed the doc distribution, otherwise always see the > +# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the > +# latest information. > +# > +# An exhaustive list of options and more detailed explanations of the > +# device lines is also present in the ../../conf/NOTES and NOTES files. > +# If you are in doubt as to the purpose or necessity of a line, check first > +# in NOTES. > +# > +# $FreeBSD$ > + > +include GENERIC > + > +ident GENERIC-NODEBUG > + > +nooptions INVARIANTS > +nooptions INVARIANT_SUPPORT > +nooptions WITNESS > +nooptions WITNESS_SKIPSPIN > +nooptions DEADLKRES > + > > Added: head/sys/i386/conf/GENERIC-NODEBUG > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/sys/i386/conf/GENERIC-NODEBUG Tue Dec 2 19:55:43 2014 > (r275422) > @@ -0,0 +1,38 @@ > +# > +# GENERIC-NODEBUG -- WITNESS and INVARIANTS free kernel configuration file > +# for FreeBSD/i386 > +# > +# This configuration file removes several debugging options, including > +# WITNESS and INVARIANTS checking, which are known to have significant > +# performance impact on running systems. When benchmarking new features > +# this kernel should be used instead of the standard GENERIC. > +# This kernel configuration should never appear outside of the HEAD > +# of the FreeBSD tree. > +# > +# For more information on this file, please read the config(5) manual page, > +# and/or the handbook section on Kernel Configuration Files: > +# > +# > http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html > +# > +# The handbook is also available locally in /usr/share/doc/handbook > +# if you've installed the doc distribution, otherwise always see the > +# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the > +# latest information. > +# > +# An exhaustive list of options and more detailed explanations of the > +# device lines is also present in the ../../conf/NOTES and NOTES files. > +# If you are in doubt as to the purpose or necessity of a line, check first > +# in NOTES. > +# > +# $FreeBSD$ > + > +include GENERIC > + > +ident GENERIC-NODEBUG > + > +nooptions INVARIANTS > +nooptions INVARIANT_SUPPORT > +nooptions WITNESS > +nooptions WITNESS_SKIPSPIN > +nooptions DEADLKRES > + > > Added: head/sys/pc98/conf/GENERIC-NODEBUG > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/sys/pc98/conf/GENERIC-NODEBUG Tue Dec 2 19:55:43 2014 > (r275422) > @@ -0,0 +1,38 @@ > +# > +# GENERIC-NODEBUG -- WITNESS and INVARIANTS free kernel configuration file > +# for FreeBSD/pc98 > +# > +# This configuration file removes several debugging options, including > +# WITNESS and INVARIANTS checking, which are known to have significant > +# performance impact on running systems. When benchmarking new features > +# this kernel should be used instead of the standard GENERIC. > +# This kernel configuration should never appear outside of the HEAD > +# of the FreeBSD tree. > +# > +# For more information on this file, please read the config(5) manual page, > +# and/or the handbook section on Kernel Configuration Files: > +# > +# > http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html > +# > +# The handbook is also available locally in /usr/share/doc/handbook > +# if you've installed the doc distribution, otherwise always see the > +# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the > +# latest information. > +# > +# An exhaustive list of options and more detailed explanations of the > +# device lines is also present in the ../../conf/NOTES and NOTES files. > +# If you are in doubt as to the purpose or necessity of a line, check first > +# in NOTES. > +# > +# $FreeBSD$ > + > +include GENERIC > + > +ident GENERIC-NODEBUG > + > +nooptions INVARIANTS > +nooptions INVARIANT_SUPPORT > +nooptions WITNESS > +nooptions WITNESS_SKIPSPIN > +nooptions DEADLKRES > + > > Added: head/sys/powerpc/conf/GENERIC-NODEBUG > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/sys/powerpc/conf/GENERIC-NODEBUG Tue Dec 2 19:55:43 2014 > (r275422) > @@ -0,0 +1,38 @@ > +# > +# GENERIC-NODEBUG -- WITNESS and INVARIANTS free kernel configuration file > +# for FreeBSD/powerpc > +# > +# This configuration file removes several debugging options, including > +# WITNESS and INVARIANTS checking, which are known to have significant > +# performance impact on running systems. When benchmarking new features > +# this kernel should be used instead of the standard GENERIC. > +# This kernel configuration should never appear outside of the HEAD > +# of the FreeBSD tree. > +# > +# For more information on this file, please read the config(5) manual page, > +# and/or the handbook section on Kernel Configuration Files: > +# > +# > http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html > +# > +# The handbook is also available locally in /usr/share/doc/handbook > +# if you've installed the doc distribution, otherwise always see the > +# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the > +# latest information. > +# > +# An exhaustive list of options and more detailed explanations of the > +# device lines is also present in the ../../conf/NOTES and NOTES files. > +# If you are in doubt as to the purpose or necessity of a line, check first > +# in NOTES. > +# > +# $FreeBSD$ > + > +include GENERIC > + > +ident GENERIC-NODEBUG > + > +nooptions INVARIANTS > +nooptions INVARIANT_SUPPORT > +nooptions WITNESS > +nooptions WITNESS_SKIPSPIN > +nooptions DEADLKRES > + > > Added: head/sys/sparc64/conf/GENERIC-NODEBUG > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/sys/sparc64/conf/GENERIC-NODEBUG Tue Dec 2 19:55:43 2014 > (r275422) > @@ -0,0 +1,38 @@ > +# > +# GENERIC-NODEBUG -- WITNESS and INVARIANTS free kernel configuration file > +# for FreeBSD/sparc64 > +# > +# This configuration file removes several debugging options, including > +# WITNESS and INVARIANTS checking, which are known to have significant > +# performance impact on running systems. When benchmarking new features > +# this kernel should be used instead of the standard GENERIC. > +# This kernel configuration should never appear outside of the HEAD > +# of the FreeBSD tree. > +# > +# For more information on this file, please read the config(5) manual page, > +# and/or the handbook section on Kernel Configuration Files: > +# > +# > http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html > +# > +# The handbook is also available locally in /usr/share/doc/handbook > +# if you've installed the doc distribution, otherwise always see the > +# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the > +# latest information. > +# > +# An exhaustive list of options and more detailed explanations of the > +# device lines is also present in the ../../conf/NOTES and NOTES files. > +# If you are in doubt as to the purpose or necessity of a line, check first > +# in NOTES. > +# > +# $FreeBSD$ > + > +include GENERIC > + > +ident GENERIC-NODEBUG > + > +nooptions INVARIANTS > +nooptions INVARIANT_SUPPORT > +nooptions WITNESS > +nooptions WITNESS_SKIPSPIN > +nooptions DEADLKRES > + > _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"