svn commit: r213304 - head/sys/kern

Andriy Gapon avg at FreeBSD.org
Thu Sep 30 16:47:02 UTC 2010


Author: avg
Date: Thu Sep 30 16:47:01 2010
New Revision: 213304
URL: http://svn.freebsd.org/changeset/base/213304

Log:
  debug.kdb.stop_cpus sysctl: hint that this is also a tunable
  
  MFC after:	1 week

Modified:
  head/sys/kern/subr_kdb.c

Modified: head/sys/kern/subr_kdb.c
==============================================================================
--- head/sys/kern/subr_kdb.c	Thu Sep 30 16:45:27 2010	(r213303)
+++ head/sys/kern/subr_kdb.c	Thu Sep 30 16:47:01 2010	(r213304)
@@ -95,7 +95,7 @@ SYSCTL_PROC(_debug_kdb, OID_AUTO, trap_c
  */
 #ifdef SMP
 static int kdb_stop_cpus = 1;
-SYSCTL_INT(_debug_kdb, OID_AUTO, stop_cpus, CTLTYPE_INT | CTLFLAG_RW,
+SYSCTL_INT(_debug_kdb, OID_AUTO, stop_cpus, CTLFLAG_RW | CTLFLAG_TUN,
     &kdb_stop_cpus, 0, "stop other CPUs when entering the debugger");
 TUNABLE_INT("debug.kdb.stop_cpus", &kdb_stop_cpus);
 #endif


More information about the svn-src-all mailing list