Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/conf Move the DIAGNOSTIC option to a seperate ...



details:   https://anonhg.NetBSD.org/src/rev/9035770ff86b
branches:  trunk
changeset: 508893:9035770ff86b
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Sat Apr 21 20:49:14 2001 +0000

description:
Move the DIAGNOSTIC option to a seperate config file, it's too expensive
to be in GENERIC (which should be a kernel ready for production use).

diffstat:

 sys/arch/i386/conf/GENERIC            |   6 +++---
 sys/arch/i386/conf/GENERIC_DIAGNOSTIC |  10 ++++++++++
 2 files changed, 13 insertions(+), 3 deletions(-)

diffs (40 lines):

diff -r d4a402f1e2cf -r 9035770ff86b sys/arch/i386/conf/GENERIC
--- a/sys/arch/i386/conf/GENERIC        Sat Apr 21 20:47:26 2001 +0000
+++ b/sys/arch/i386/conf/GENERIC        Sat Apr 21 20:49:14 2001 +0000
@@ -1,11 +1,11 @@
-#      $NetBSD: GENERIC,v 1.402 2001/03/30 14:47:49 minoura Exp $
+#      $NetBSD: GENERIC,v 1.403 2001/04/21 20:49:14 fvdl Exp $
 #
 #      GENERIC -- everything that's currently supported
 #
 
 include "arch/i386/conf/std.i386"
 
-#ident                 "GENERIC-$Revision: 1.402 $"
+#ident                 "GENERIC-$Revision: 1.403 $"
 
 maxusers       32              # estimated number of users
 
@@ -58,7 +58,7 @@
 options        LKM             # loadable kernel modules
 
 # Diagnostic/debugging support options
-options        DIAGNOSTIC      # cheap kernel consistency checks
+#options       DIAGNOSTIC      # expensive kernel consistency checks
 #options       DEBUG           # expensive debugging checks/support
 #options       KMEMSTATS       # kernel memory statistics (vmstat -m)
 options        DDB             # in-kernel debugger
diff -r d4a402f1e2cf -r 9035770ff86b sys/arch/i386/conf/GENERIC_DIAGNOSTIC
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/i386/conf/GENERIC_DIAGNOSTIC     Sat Apr 21 20:49:14 2001 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: GENERIC_DIAGNOSTIC,v 1.1 2001/04/21 20:49:14 fvdl Exp $
+#
+# GENERIC with DIAGNOSTIC enabled.
+# DIAGNOSTIC was moved out of the default GENERIC file because
+# it is pretty expensive (up to some 15% speed loss).
+#
+
+options        DIAGNOSTIC
+
+include "arch/i386/conf/GENERIC"



Home | Main Index | Thread Index | Old Index