From 667285c4e3921dc4be10d46835f8ce6c72ab1e57 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Tue, 27 Sep 2005 21:12:05 +0000 Subject: [PATCH] If KDB_STOP_NMI is compiled into the kernel, default debug.kdb.stop_cpus_with_nmi to 1 rather than 0. MFC after: 3 days --- sys/kern/subr_kdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/subr_kdb.c b/sys/kern/subr_kdb.c index 1d39e76e401a..0216df0ef6e2 100644 --- a/sys/kern/subr_kdb.c +++ b/sys/kern/subr_kdb.c @@ -98,7 +98,7 @@ TUNABLE_INT("debug.kdb.stop_cpus", &kdb_stop_cpus); * disabled interrupts the conventional STOP IPI will be blocked. This * NMI-based stop should get through in that case. */ -static int kdb_stop_cpus_with_nmi = 0; +static int kdb_stop_cpus_with_nmi = 1; SYSCTL_INT(_debug_kdb, OID_AUTO, stop_cpus_with_nmi, CTLTYPE_INT | CTLFLAG_RW, &kdb_stop_cpus_with_nmi, 0, ""); TUNABLE_INT("debug.kdb.stop_cpus_with_nmi", &kdb_stop_cpus_with_nmi);