summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorDon Zickus <dzickus@redhat.com>2015-11-06 03:44:44 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-06 04:34:48 +0100
commitac1f591249d95372f3a5ab3828d4af5dfbf5efd3 (patch)
tree39dfce1a0fc12de79689cd97e2876ddf777c8cab /init
parentkernel/watchdog.c: perform all-CPU backtrace in case of hard lockup (diff)
downloadlinux-ac1f591249d95372f3a5ab3828d4af5dfbf5efd3.tar.xz
linux-ac1f591249d95372f3a5ab3828d4af5dfbf5efd3.zip
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 'init')
0 files changed, 0 insertions, 0 deletions