Commit 404347e6 authored by Stephen Kitt's avatar Stephen Kitt Committed by Jonathan Corbet

docs: document panic fully in sysctl/kernel.rst

The description of panic doesn’t cover all the supported scenarios;
this patch fixes that, describing the three possibilities (no reboot,
immediate reboot, reboot after a delay).

Based on the implementation in kernel/panic.c.
Signed-off-by: default avatarStephen Kitt <steve@sk2.org>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent a1ad4f15
...@@ -559,9 +559,15 @@ The default is 65534. ...@@ -559,9 +559,15 @@ The default is 65534.
panic panic
===== =====
The value in this file represents the number of seconds the kernel The value in this file determines the behaviour of the kernel on a
waits before rebooting on a panic. When you use the software watchdog, panic:
the recommended setting is 60.
* if zero, the kernel will loop forever;
* if negative, the kernel will reboot immediately;
* if positive, the kernel will reboot after the corresponding number
of seconds.
When you use the software watchdog, the recommended setting is 60.
panic_on_io_nmi panic_on_io_nmi
......
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