+ lib-kconfigdebug-document-panic=-command-line-option-and-procfs-entry-for-panic_timeout.patch added to mm-nonmm-unstable branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: lib/Kconfig.debug: document panic= command line option and procfs entry for PANIC_TIMEOUT
has been added to the -mm mm-nonmm-unstable branch.  Its filename is
     lib-kconfigdebug-document-panic=-command-line-option-and-procfs-entry-for-panic_timeout.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/lib-kconfigdebug-document-panic=-command-line-option-and-procfs-entry-for-panic_timeout.patch

This patch will later appear in the mm-nonmm-unstable branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days

------------------------------------------------------
From: Brian Masney <bmasney@xxxxxxxxxx>
Subject: lib/Kconfig.debug: document panic= command line option and procfs entry for PANIC_TIMEOUT
Date: Fri, 7 Jun 2024 11:24:43 -0400

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@xxxxxxxxxx
Signed-off-by: Brian Masney <bmasney@xxxxxxxxxx>
Reviewed-by: Javier Martinez Canillas <javierm@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 lib/Kconfig.debug |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

--- a/lib/Kconfig.debug~lib-kconfigdebug-document-panic=-command-line-option-and-procfs-entry-for-panic_timeout
+++ a/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
_

Patches currently in -mm which might be from bmasney@xxxxxxxxxx are

lib-kconfigdebug-document-panic=-command-line-option-and-procfs-entry-for-panic_timeout.patch





[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux