svn commit: r334785 - head/sys/x86/x86

Andriy Gapon avg at FreeBSD.org
Thu Jun 7 14:23:32 UTC 2018


Author: avg
Date: Thu Jun  7 14:23:31 2018
New Revision: 334785
URL: https://svnweb.freebsd.org/changeset/base/334785

Log:
  expand descriptions of x86 panic_on_nmi and kdb_on_nmi sysctls
  
  The descriptions were as terse as the variable names and they did not
  explain additional conditions for knobs.
  
  MFC after:	1 week

Modified:
  head/sys/x86/x86/cpu_machdep.c

Modified: head/sys/x86/x86/cpu_machdep.c
==============================================================================
--- head/sys/x86/x86/cpu_machdep.c	Thu Jun  7 13:57:34 2018	(r334784)
+++ head/sys/x86/x86/cpu_machdep.c	Thu Jun  7 14:23:31 2018	(r334785)
@@ -723,7 +723,7 @@ SYSINIT(cpu_idle_tun, SI_SUB_CPU, SI_ORDER_MIDDLE, cpu
 static int panic_on_nmi = 1;
 SYSCTL_INT(_machdep, OID_AUTO, panic_on_nmi, CTLFLAG_RWTUN,
     &panic_on_nmi, 0,
-    "Panic on NMI");
+    "Panic on NMI raised by hardware failure");
 int nmi_is_broadcast = 1;
 SYSCTL_INT(_machdep, OID_AUTO, nmi_is_broadcast, CTLFLAG_RWTUN,
     &nmi_is_broadcast, 0,
@@ -732,7 +732,7 @@ SYSCTL_INT(_machdep, OID_AUTO, nmi_is_broadcast, CTLFL
 int kdb_on_nmi = 1;
 SYSCTL_INT(_machdep, OID_AUTO, kdb_on_nmi, CTLFLAG_RWTUN,
     &kdb_on_nmi, 0,
-    "Go to KDB on NMI");
+    "Go to KDB on NMI with unknown source");
 #endif
 
 #ifdef DEV_ISA


More information about the svn-src-all mailing list