diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2020-02-27 20:26:37 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2020-02-27 20:26:37 +0000 |
commit | dc30b290e12256d44b22ff982a6ab1058c2dc7f1 (patch) | |
tree | 2d5ce4dc7c39b2a7d8ad77a23b80c575f2909b4e | |
parent | 8582cd31010027b6a1b176450dc5becd259617d5 (diff) | |
download | src-dc30b290e12256d44b22ff982a6ab1058c2dc7f1.tar.gz src-dc30b290e12256d44b22ff982a6ab1058c2dc7f1.zip |
riscv: Add a GENERIC-NODEBUG (copied from amd64)
Sponsored by: DARPA
Notes
Notes:
svn path=/head/; revision=358409
-rw-r--r-- | sys/riscv/conf/GENERIC-NODEBUG | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sys/riscv/conf/GENERIC-NODEBUG b/sys/riscv/conf/GENERIC-NODEBUG new file mode 100644 index 000000000000..644ce0d4e0c6 --- /dev/null +++ b/sys/riscv/conf/GENERIC-NODEBUG @@ -0,0 +1,42 @@ +# +# GENERIC-NODEBUG -- WITNESS and INVARIANTS free kernel configuration file +# for FreeBSD/riscv +# +# 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: +# +# https://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 (https://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 BUF_TRACKING +nooptions DEADLKRES +nooptions FULL_BUF_TRACKING +nooptions COVERAGE +nooptions KCOV +nooptions MALLOC_DEBUG_MAXZONES |