Date: Thu, 3 Sep 2015 18:14:32 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r287438 - stable/10/sys/kern Message-ID: <201509031814.t83IEWYH084893@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Thu Sep 3 18:14:31 2015 New Revision: 287438 URL: https://svnweb.freebsd.org/changeset/base/287438 Log: MFC: r287183, r287264, r287265 Export kern.features.invariants when kernel is compiled with invariants. Modified: stable/10/sys/kern/init_main.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/kern/init_main.c ============================================================================== --- stable/10/sys/kern/init_main.c Thu Sep 3 17:46:57 2015 (r287437) +++ stable/10/sys/kern/init_main.c Thu Sep 3 18:14:31 2015 (r287438) @@ -115,6 +115,10 @@ int bootverbose = BOOTVERBOSE; SYSCTL_INT(_debug, OID_AUTO, bootverbose, CTLFLAG_RW, &bootverbose, 0, "Control the output of verbose kernel messages"); +#ifdef INVARIANTS +FEATURE(invariants, "Kernel compiled with INVARIANTS, may affect performance"); +#endif + /* * This ensures that there is at least one entry so that the sysinit_set * symbol is not undefined. A sybsystem ID of SI_SUB_DUMMY is never
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509031814.t83IEWYH084893>