summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBrian Masney <bmasney@redhat.com>2024-06-07 11:24:43 -0400
committerAndrew Morton <akpm@linux-foundation.org>2024-06-24 22:25:07 -0700
commitd0bff054053f7a46a3819aba55ad803aa639ed7e (patch)
treecf81426da59738a535496c3944c1763c3ea0618e /lib
parent09aaf15a7826717b75d2b4305daaee099636ca5c (diff)
downloadlinux-stable-d0bff054053f7a46a3819aba55ad803aa639ed7e.tar.gz
linux-stable-d0bff054053f7a46a3819aba55ad803aa639ed7e.tar.bz2
linux-stable-d0bff054053f7a46a3819aba55ad803aa639ed7e.zip
lib/Kconfig.debug: document panic= command line option and procfs entry for PANIC_TIMEOUT
PANIC_TIMEOUT can also be controlled with the panic= kernel command line option and the file /proc/sys/kernel/panic. Let's document both of these in the Kconfig help text. Link: https://lkml.kernel.org/r/20240607152443.925168-1-bmasney@redhat.com Signed-off-by: Brian Masney <bmasney@redhat.com> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 59b6765d86b8..86c24d9ed376 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1043,7 +1043,9 @@ config PANIC_TIMEOUT
Set the timeout value (in seconds) until a reboot occurs when
the kernel panics. If n = 0, then we wait forever. A timeout
value n > 0 will wait n seconds before rebooting, while a timeout
- value n < 0 will reboot immediately.
+ value n < 0 will reboot immediately. This setting can be overridden
+ with the kernel command line option panic=, and from userspace via
+ /proc/sys/kernel/panic.
config LOCKUP_DETECTOR
bool