Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2019 13:20:24 +0000 (UTC)
From:      Mark Johnston <markj@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: r346886 - stable/12/sys/conf
Message-ID:  <201904291320.x3TDKO75077315@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Mon Apr 29 13:20:24 2019
New Revision: 346886
URL: https://svnweb.freebsd.org/changeset/base/346886

Log:
  MFC r346544:
  Clarify the relationship between INVARIANTS and DIAGNOSTIC a bit.

Modified:
  stable/12/sys/conf/NOTES
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/conf/NOTES
==============================================================================
--- stable/12/sys/conf/NOTES	Mon Apr 29 09:52:53 2019	(r346885)
+++ stable/12/sys/conf/NOTES	Mon Apr 29 13:20:24 2019	(r346886)
@@ -563,8 +563,10 @@ options 	KASSERT_PANIC_OPTIONAL
 
 #
 # 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.
+# and invariants checking.  The added checks are too expensive or noisy
+# for an INVARIANTS kernel and thus are disabled by default.  It is
+# expected that a kernel configured with DIAGNOSTIC will also have the
+# INVARIANTS option enabled.
 #
 options 	DIAGNOSTIC
 



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