Source-Changes-HG archive

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

[src/netbsd-7]: src/sys/arch Apply patch (requested by bouyer/martin in ticke...



details:   https://anonhg.NetBSD.org/src/rev/b6e2ac2e0e2a
branches:  netbsd-7
changeset: 798404:b6e2ac2e0e2a
user:      snj <snj%NetBSD.org@localhost>
date:      Fri Oct 10 18:16:36 2014 +0000

description:
Apply patch (requested by bouyer/martin in ticket #116):
Disable DIAGNOSTIC and/or DEBUG.

diffstat:

 sys/arch/amd64/conf/GENERIC         |  6 +++---
 sys/arch/amd64/conf/XEN3_DOM0       |  6 +++---
 sys/arch/amd64/conf/XEN3_DOMU       |  6 +++---
 sys/arch/cobalt/conf/GENERIC        |  6 +++---
 sys/arch/i386/conf/GENERIC          |  6 +++---
 sys/arch/i386/conf/XEN3_DOM0        |  6 +++---
 sys/arch/i386/conf/XEN3_DOMU        |  6 +++---
 sys/arch/mvmeppc/conf/GENERIC       |  8 ++++----
 sys/arch/shark/conf/GENERIC         |  6 +++---
 sys/arch/sparc64/conf/GENERIC       |  6 +++---
 sys/arch/sparc64/conf/GENERIC.DEBUG |  6 +++---
 sys/arch/zaurus/conf/GENERIC        |  4 ++--
 12 files changed, 36 insertions(+), 36 deletions(-)

diffs (287 lines):

diff -r b20234045cf1 -r b6e2ac2e0e2a sys/arch/amd64/conf/GENERIC
--- a/sys/arch/amd64/conf/GENERIC       Mon Oct 06 13:11:04 2014 +0000
+++ b/sys/arch/amd64/conf/GENERIC       Fri Oct 10 18:16:36 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.392 2014/07/25 15:01:14 dholland Exp $
+# $NetBSD: GENERIC,v 1.392.2.1 2014/10/10 18:16:36 snj Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.392 $"
+#ident                 "GENERIC-$Revision: 1.392.2.1 $"
 
 maxusers       64              # estimated number of users
 
@@ -86,7 +86,7 @@
 options        BUFQ_PRIOCSCAN
 
 # Diagnostic/debugging support options
-options        DIAGNOSTIC      # inexpensive kernel consistency checks
+#options       DIAGNOSTIC      # inexpensive kernel consistency checks
                                # XXX to be commented out on release branch
 #options       DEBUG           # expensive debugging checks/support
 #options       LOCKDEBUG       # expensive locking checks/support
diff -r b20234045cf1 -r b6e2ac2e0e2a sys/arch/amd64/conf/XEN3_DOM0
--- a/sys/arch/amd64/conf/XEN3_DOM0     Mon Oct 06 13:11:04 2014 +0000
+++ b/sys/arch/amd64/conf/XEN3_DOM0     Fri Oct 10 18:16:36 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOM0,v 1.103 2014/07/25 15:01:14 dholland Exp $
+# $NetBSD: XEN3_DOM0,v 1.103.2.1 2014/10/10 18:16:36 snj Exp $
 
 include        "arch/amd64/conf/std.xen"
 
@@ -47,9 +47,9 @@
 options        BUFQ_PRIOCSCAN
 
 # Diagnostic/debugging support options
-options        DIAGNOSTIC      # inexpensive kernel consistency checks
+#options       DIAGNOSTIC      # inexpensive kernel consistency checks
 #options       DEBUG           # expensive debugging checks/support
-options        KMEMSTATS       # kernel memory statistics (vmstat -m)
+#options       KMEMSTATS       # kernel memory statistics (vmstat -m)
 options        DDB             # in-kernel debugger
 options        DDB_ONPANIC=1   # see also sysctl(7): `ddb.onpanic'
 options        DDB_HISTORY_SIZE=512    # enable history editing in DDB
diff -r b20234045cf1 -r b6e2ac2e0e2a sys/arch/amd64/conf/XEN3_DOMU
--- a/sys/arch/amd64/conf/XEN3_DOMU     Mon Oct 06 13:11:04 2014 +0000
+++ b/sys/arch/amd64/conf/XEN3_DOMU     Fri Oct 10 18:16:36 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOMU,v 1.54 2014/07/25 15:01:14 dholland Exp $
+# $NetBSD: XEN3_DOMU,v 1.54.2.1 2014/10/10 18:16:36 snj Exp $
 
 include        "arch/amd64/conf/std.xen"
 
@@ -41,9 +41,9 @@
 options        BUFQ_PRIOCSCAN
 
 # Diagnostic/debugging support options
-options        DIAGNOSTIC      # inexpensive kernel consistency checks
+#options       DIAGNOSTIC      # inexpensive kernel consistency checks
 #options       DEBUG           # expensive debugging checks/support
-options        KMEMSTATS       # kernel memory statistics (vmstat -m)
+#options       KMEMSTATS       # kernel memory statistics (vmstat -m)
 options        DDB             # in-kernel debugger
 options        DDB_ONPANIC=1   # see also sysctl(7): `ddb.onpanic'
 options        DDB_HISTORY_SIZE=512    # enable history editing in DDB
diff -r b20234045cf1 -r b6e2ac2e0e2a sys/arch/cobalt/conf/GENERIC
--- a/sys/arch/cobalt/conf/GENERIC      Mon Oct 06 13:11:04 2014 +0000
+++ b/sys/arch/cobalt/conf/GENERIC      Fri Oct 10 18:16:36 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.143 2014/07/20 10:06:10 alnsn Exp $
+# $NetBSD: GENERIC,v 1.143.2.1 2014/10/10 18:16:36 snj Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.143 $"
+#ident                 "GENERIC-$Revision: 1.143.2.1 $"
 
 maxusers       32
 
@@ -42,7 +42,7 @@
 #options       BUFQ_PRIOCSCAN
 
 # Debugging options
-options        DIAGNOSTIC      # extra kernel sanity checking
+#options       DIAGNOSTIC      # extra kernel sanity checking
 #options       DEBUG           # extra kernel debugging support
 #options       KMEMSTATS       # kernel memory statistics (vmstat -m)
 options        DDB             # kernel dynamic debugger
diff -r b20234045cf1 -r b6e2ac2e0e2a sys/arch/i386/conf/GENERIC
--- a/sys/arch/i386/conf/GENERIC        Mon Oct 06 13:11:04 2014 +0000
+++ b/sys/arch/i386/conf/GENERIC        Fri Oct 10 18:16:36 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1107 2014/07/25 15:01:14 dholland Exp $
+# $NetBSD: GENERIC,v 1.1107.2.1 2014/10/10 18:16:37 snj Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.1107 $"
+#ident                 "GENERIC-$Revision: 1.1107.2.1 $"
 
 maxusers       64              # estimated number of users
 
@@ -107,7 +107,7 @@
 options        BUFQ_PRIOCSCAN
 
 # Diagnostic/debugging support options
-options        DIAGNOSTIC      # inexpensive kernel consistency checks
+#options       DIAGNOSTIC      # inexpensive kernel consistency checks
                                # XXX to be commented out on release branch
 #options       DEBUG           # expensive debugging checks/support
 #options       LOCKDEBUG       # expensive locking checks/support
diff -r b20234045cf1 -r b6e2ac2e0e2a sys/arch/i386/conf/XEN3_DOM0
--- a/sys/arch/i386/conf/XEN3_DOM0      Mon Oct 06 13:11:04 2014 +0000
+++ b/sys/arch/i386/conf/XEN3_DOM0      Fri Oct 10 18:16:36 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: XEN3_DOM0,v 1.85 2014/07/25 15:01:14 dholland Exp $
+#      $NetBSD: XEN3_DOM0,v 1.85.2.1 2014/10/10 18:16:37 snj Exp $
 #
 #      XEN3_0: Xen 3.0 domain0 kernel
 
@@ -63,9 +63,9 @@
 options        BUFQ_PRIOCSCAN
 
 # Diagnostic/debugging support options
-options        DIAGNOSTIC      # inexpensive kernel consistency checks
+#options       DIAGNOSTIC      # inexpensive kernel consistency checks
 #options       DEBUG           # expensive debugging checks/support
-options        KMEMSTATS       # kernel memory statistics (vmstat -m)
+#options       KMEMSTATS       # kernel memory statistics (vmstat -m)
 options        DDB             # in-kernel debugger
 options        DDB_ONPANIC=1   # see also sysctl(7): `ddb.onpanic'
 options        DDB_HISTORY_SIZE=512    # enable history editing in DDB
diff -r b20234045cf1 -r b6e2ac2e0e2a sys/arch/i386/conf/XEN3_DOMU
--- a/sys/arch/i386/conf/XEN3_DOMU      Mon Oct 06 13:11:04 2014 +0000
+++ b/sys/arch/i386/conf/XEN3_DOMU      Fri Oct 10 18:16:36 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOMU,v 1.59 2014/07/25 15:01:14 dholland Exp $
+# $NetBSD: XEN3_DOMU,v 1.59.2.1 2014/10/10 18:16:37 snj Exp $
 
 include        "arch/xen/conf/std.xen"
 
@@ -49,9 +49,9 @@
 options        BUFQ_PRIOCSCAN
 
 # Diagnostic/debugging support options
-options        DIAGNOSTIC      # inexpensive kernel consistency checks
+#options       DIAGNOSTIC      # inexpensive kernel consistency checks
 #options       DEBUG           # expensive debugging checks/support
-options        KMEMSTATS       # kernel memory statistics (vmstat -m)
+#options       KMEMSTATS       # kernel memory statistics (vmstat -m)
 options        DDB             # in-kernel debugger
 options        DDB_ONPANIC=1   # see also sysctl(7): `ddb.onpanic'
 options        DDB_HISTORY_SIZE=512    # enable history editing in DDB
diff -r b20234045cf1 -r b6e2ac2e0e2a sys/arch/mvmeppc/conf/GENERIC
--- a/sys/arch/mvmeppc/conf/GENERIC     Mon Oct 06 13:11:04 2014 +0000
+++ b/sys/arch/mvmeppc/conf/GENERIC     Fri Oct 10 18:16:36 2014 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: GENERIC,v 1.22 2013/06/30 21:38:58 rmind Exp $
+# $NetBSD: GENERIC,v 1.22.6.1 2014/10/10 18:16:37 snj Exp $
 #
 
 include        "arch/mvmeppc/conf/std.mvmeppc"
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-ident          "GENERIC-$Revision: 1.22 $"
+ident          "GENERIC-$Revision: 1.22.6.1 $"
 
 maxusers       8
 
@@ -29,8 +29,8 @@
 #options       SYSCTL_INCLUDE_DESCR    # Include sysctl descriptions in kernel
 
 # Diagnostic/debugging support options
-options        DIAGNOSTIC      # cheap kernel consistency checks
-options        DEBUG           # expensive debugging checks/support
+#options       DIAGNOSTIC      # cheap kernel consistency checks
+#options       DEBUG           # expensive debugging checks/support
 #options       KMEMSTATS       # kernel memory statistics (vmstat -m)
 options        DDB             # in-kernel debugger
 #options       DDB_HISTORY_SIZE=100    # Enable history editing in DDB
diff -r b20234045cf1 -r b6e2ac2e0e2a sys/arch/shark/conf/GENERIC
--- a/sys/arch/shark/conf/GENERIC       Mon Oct 06 13:11:04 2014 +0000
+++ b/sys/arch/shark/conf/GENERIC       Fri Oct 10 18:16:36 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: GENERIC,v 1.115 2014/08/03 08:53:56 martin Exp $
+#      $NetBSD: GENERIC,v 1.115.2.1 2014/10/10 18:16:37 snj Exp $
 #
 # Generic Shark configuration.
 #
@@ -7,7 +7,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.115 $"
+#ident         "GENERIC-$Revision: 1.115.2.1 $"
 
 # estimated number of users
 maxusers       32
@@ -151,7 +151,7 @@
 
 #options       ARM700BUGTRACK  # track the ARM700 swi bug
 #options       PORTMASTER      # Enable PortMaster only options
-options        DIAGNOSTIC      # internal consistency checks
+#options       DIAGNOSTIC      # internal consistency checks
 #options       PMAP_DEBUG      # Enable pmap_debug_level code
 options        DDB             # in-kernel debugger
 options        SYMTAB_SPACE=750000     # reserve symbol space for DDB
diff -r b20234045cf1 -r b6e2ac2e0e2a sys/arch/sparc64/conf/GENERIC
--- a/sys/arch/sparc64/conf/GENERIC     Mon Oct 06 13:11:04 2014 +0000
+++ b/sys/arch/sparc64/conf/GENERIC     Fri Oct 10 18:16:36 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.171 2014/03/24 14:15:38 szptvlfn Exp $
+# $NetBSD: GENERIC,v 1.171.4.1 2014/10/10 18:16:37 snj Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.171 $"
+#ident                 "GENERIC-$Revision: 1.171.4.1 $"
 
 maxusers       64
 
@@ -104,7 +104,7 @@
 ## Adds code to the kernel that does internal consistency checks, and will
 ## cause the kernel to panic if corruption of internal data structures
 ## is detected.
-options        DIAGNOSTIC      # extra kernel sanity checking
+#options       DIAGNOSTIC      # extra kernel sanity checking
 
 ## Enable (possibly expensive) debugging code that may also display messages
 ## on the system console
diff -r b20234045cf1 -r b6e2ac2e0e2a sys/arch/sparc64/conf/GENERIC.DEBUG
--- a/sys/arch/sparc64/conf/GENERIC.DEBUG       Mon Oct 06 13:11:04 2014 +0000
+++ b/sys/arch/sparc64/conf/GENERIC.DEBUG       Fri Oct 10 18:16:36 2014 +0000
@@ -1,15 +1,15 @@
-# $NetBSD: GENERIC.DEBUG,v 1.2 2011/12/26 19:33:20 martin Exp $
+# $NetBSD: GENERIC.DEBUG,v 1.2.16.1 2014/10/10 18:16:37 snj Exp $
 #
 # GENERIC with debugging support enabled.
 #
 
 include        "arch/sparc64/conf/GENERIC"
 
-#ident         "GENERIC.DEBUG.$Revision: 1.2 $"
+#ident         "GENERIC.DEBUG.$Revision: 1.2.16.1 $"
 
 makeoptions    DEBUG="-g"
 options        DEBUG
-# options      DIAGNOSTIC      # already in GENERIC
+options        DIAGNOSTIC
 options        LOCKDEBUG
 
 options        DB_MAX_WIDTH=160
diff -r b20234045cf1 -r b6e2ac2e0e2a sys/arch/zaurus/conf/GENERIC
--- a/sys/arch/zaurus/conf/GENERIC      Mon Oct 06 13:11:04 2014 +0000
+++ b/sys/arch/zaurus/conf/GENERIC      Fri Oct 10 18:16:36 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: GENERIC,v 1.57 2014/08/03 08:53:57 martin Exp $
+#      $NetBSD: GENERIC,v 1.57.2.1 2014/10/10 18:16:37 snj Exp $
 #
 # GENERIC machine description file
 #
@@ -159,7 +159,7 @@
 
 # Development and Debugging options
 
-options        DIAGNOSTIC              # internal consistency checks
+#options       DIAGNOSTIC              # internal consistency checks
 #options       DEBUG
 #options       VERBOSE_INIT_ARM        # verbose bootstraping messages
 options        DDB                     # in-kernel debugger



Home | Main Index | Thread Index | Old Index