Commit d22881dc authored by Scott Wood's avatar Scott Wood Committed by Jonathan Corbet

Documentation: Better document the hardlockup_panic sysctl

Commit ac1f5912 ("kernel/watchdog.c: add sysctl knob
hardlockup_panic") added the hardlockup_panic sysctl, but did not add it
to Documentation/sysctl/kernel.txt.  Add this, and reference it from the
corresponding entry in Documentation/admin-guide/kernel-parameters.txt.
Signed-off-by: default avatarScott Wood <swood@redhat.com>
Acked-by: default avatarChristoph von Recklinghausen <crecklin@redhat.com>
Acked-by: default avatarDon Zickus <dzickus@redhat.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent aa73f28e
...@@ -2538,6 +2538,9 @@ ...@@ -2538,6 +2538,9 @@
This is useful when you use a panic=... timeout and This is useful when you use a panic=... timeout and
need the box quickly up again. need the box quickly up again.
These settings can be accessed at runtime via
the nmi_watchdog and hardlockup_panic sysctls.
netpoll.carrier_timeout= netpoll.carrier_timeout=
[NET] Specifies amount of time (in seconds) that [NET] Specifies amount of time (in seconds) that
netpoll should wait for a carrier. By default netpoll netpoll should wait for a carrier. By default netpoll
......
...@@ -34,6 +34,7 @@ show up in /proc/sys/kernel: ...@@ -34,6 +34,7 @@ show up in /proc/sys/kernel:
- hostname - hostname
- hotplug - hotplug
- hardlockup_all_cpu_backtrace - hardlockup_all_cpu_backtrace
- hardlockup_panic
- hung_task_panic - hung_task_panic
- hung_task_check_count - hung_task_check_count
- hung_task_timeout_secs - hung_task_timeout_secs
...@@ -313,6 +314,19 @@ will be initiated. ...@@ -313,6 +314,19 @@ will be initiated.
1: on detection capture more debug information. 1: on detection capture more debug information.
============================================================== ==============================================================
hardlockup_panic:
This parameter can be used to control whether the kernel panics
when a hard lockup is detected.
0 - don't panic on hard lockup
1 - panic on hard lockup
See Documentation/lockup-watchdogs.txt for more information. This can
also be set using the nmi_watchdog kernel parameter.
==============================================================
hotplug: hotplug:
Path for the hotplug policy agent. Path for the hotplug policy agent.
......
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