summaryrefslogtreecommitdiffstats
path: root/Documentation/lockup-watchdogs.txt
diff options
context:
space:
mode:
authorDon Zickus <dzickus@redhat.com>2015-11-05 21:44:44 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-05 22:34:48 -0500
commitac1f591249d95372f3a5ab3828d4af5dfbf5efd3 (patch)
tree39dfce1a0fc12de79689cd97e2876ddf777c8cab /Documentation/lockup-watchdogs.txt
parent55537871ef666b4153fd1ef8782e4a13fee142cc (diff)
kernel/watchdog.c: add sysctl knob hardlockup_panic
The only way to enable a hardlockup to panic the machine is to set 'nmi_watchdog=panic' on the kernel command line. This makes it awkward for end users and folks who want to run automate tests (like myself). Mimic the softlockup_panic knob and create a /proc/sys/kernel/hardlockup_panic knob. Signed-off-by: Don Zickus <dzickus@redhat.com> Cc: Ulrich Obergfell <uobergfe@redhat.com> Acked-by: Jiri Kosina <jkosina@suse.cz> Reviewed-by: Aaron Tomlin <atomlin@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/lockup-watchdogs.txt')
-rw-r--r--Documentation/lockup-watchdogs.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/lockup-watchdogs.txt b/Documentation/lockup-watchdogs.txt
index 22dd6af2e4bd..4a6e33e1af61 100644
--- a/Documentation/lockup-watchdogs.txt
+++ b/Documentation/lockup-watchdogs.txt
@@ -20,8 +20,9 @@ kernel mode for more than 10 seconds (see "Implementation" below for
20details), without letting other interrupts have a chance to run. 20details), without letting other interrupts have a chance to run.
21Similarly to the softlockup case, the current stack trace is displayed 21Similarly to the softlockup case, the current stack trace is displayed
22upon detection and the system will stay locked up unless the default 22upon detection and the system will stay locked up unless the default
23behavior is changed, which can be done through a compile time knob, 23behavior is changed, which can be done through a sysctl,
24"BOOTPARAM_HARDLOCKUP_PANIC", and a kernel parameter, "nmi_watchdog" 24'hardlockup_panic', a compile time knob, "BOOTPARAM_HARDLOCKUP_PANIC",
25and a kernel parameter, "nmi_watchdog"
25(see "Documentation/kernel-parameters.txt" for details). 26(see "Documentation/kernel-parameters.txt" for details).
26 27
27The panic option can be used in combination with panic_timeout (this 28The panic option can be used in combination with panic_timeout (this