aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/NOTES
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-02-24 19:03:18 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-02-24 19:03:18 +0000
commit34b15f2a209a7886c617a3bb8429634c923d5f07 (patch)
tree2da0bbd11c3c240b50198ebdf3205c3f3fa13bf7 /sys/conf/NOTES
parent7b4a30b68945fa33228cd146464d903c8f2c0277 (diff)
downloadsrc-34b15f2a209a7886c617a3bb8429634c923d5f07.tar.gz
src-34b15f2a209a7886c617a3bb8429634c923d5f07.zip
Add back in INVARIANT_SUPPORT and expand the comments in NOTES about it
to include the reasoning Eivind justifiably thwapped me over the head with.
Notes
Notes: svn path=/head/; revision=72989
Diffstat (limited to 'sys/conf/NOTES')
-rw-r--r--sys/conf/NOTES13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 1b3dc79101f4..1d1d00abb6ea 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -354,6 +354,19 @@ options KTR_VERBOSE
options INVARIANTS
#
+# The INVARIANT_SUPPORT option makes us compile in support for
+# verifying some of the internal structures. It is a prerequisite for
+# 'INVARIANTS', as enabling 'INVARIANTS' will make these functions be
+# called. The intent is that you can set 'INVARIANTS' for single
+# source files (by changing the source file or specifying it on the
+# command line) if you have 'INVARIANT_SUPPORT' enabled. Also, if you
+# wish to build a kernel module with 'INVARIANTS', then adding
+# 'INVARIANT_SUPPORT' to your kernel will provide all the necessary
+# infrastructure without the added overhead.
+#
+options INVARIANT_SUPPORT
+
+#
# The DIAGNOSTIC option is used to enable extra debugging information
# from some parts of the kernel. As this makes everything more noisy,
# it is disabled by default.