Commit 0a07bef6 authored by Guilherme G. Piccoli's avatar Guilherme G. Piccoli Committed by Jonathan Corbet

Documentation: Better document the softlockup_panic sysctl

Commit 9c44bc03 ("softlockup: allow panic on lockup") added the
softlockup_panic sysctl, but didn't add information about it to the file
Documentation/admin-guide/sysctl/kernel.rst (which in that time certainly
wasn't rst and had other name!).

This patch just adds the respective documentation and references it from
the corresponding entry in Documentation/admin-guide/kernel-parameters.txt.

This patch was strongly based on Scott Wood's commit d22881dc
("Documentation: Better document the hardlockup_panic sysctl").
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarGuilherme G. Piccoli <gpiccoli@canonical.com>
Link: https://lore.kernel.org/r/20200310183649.23163-1-gpiccoli@canonical.comSigned-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 23f03fe2
...@@ -4516,10 +4516,10 @@ ...@@ -4516,10 +4516,10 @@
Format: <integer> Format: <integer>
A nonzero value instructs the soft-lockup detector A nonzero value instructs the soft-lockup detector
to panic the machine when a soft-lockup occurs. This to panic the machine when a soft-lockup occurs. It is
is also controlled by CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC also controlled by the kernel.softlockup_panic sysctl
which is the respective build-time switch to that and CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC, which is the
functionality. respective build-time switch to that functionality.
softlockup_all_cpu_backtrace= softlockup_all_cpu_backtrace=
[KNL] Should the soft-lockup detector generate [KNL] Should the soft-lockup detector generate
......
...@@ -1036,6 +1036,20 @@ NMI. ...@@ -1036,6 +1036,20 @@ NMI.
= ============================================ = ============================================
softlockup_panic
=================
This parameter can be used to control whether the kernel panics
when a soft lockup is detected.
= ============================================
0 Don't panic on soft lockup.
1 Panic on soft lockup.
= ============================================
This can also be set using the softlockup_panic kernel parameter.
soft_watchdog soft_watchdog
============= =============
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment