All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Doc: Add default behavior of panic parameter in kernel.txt
@ 2015-01-23  8:20 Masanari Iida
  2015-01-23 11:42 ` Borislav Petkov
  0 siblings, 1 reply; 2+ messages in thread
From: Masanari Iida @ 2015-01-23  8:20 UTC (permalink / raw)
  To: linux-kernel, corbet, akpm, mingo, riel, bp; +Cc: Masanari Iida

This patch adds default behavior of panic parameter in kernel.txt

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 Documentation/sysctl/kernel.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt
index 75511ef..3cae2bd 100644
--- a/Documentation/sysctl/kernel.txt
+++ b/Documentation/sysctl/kernel.txt
@@ -527,6 +527,8 @@ panic:
 The value in this file represents the number of seconds the kernel
 waits before rebooting on a panic. When you use the software watchdog,
 the recommended setting is 60.
+A value of 0 will disable rebooting on a panic.
+The default is 0.
 
 ==============================================================
 
-- 
2.3.0.rc1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Doc: Add default behavior of panic parameter in kernel.txt
  2015-01-23  8:20 [PATCH] Doc: Add default behavior of panic parameter in kernel.txt Masanari Iida
@ 2015-01-23 11:42 ` Borislav Petkov
  0 siblings, 0 replies; 2+ messages in thread
From: Borislav Petkov @ 2015-01-23 11:42 UTC (permalink / raw)
  To: Masanari Iida; +Cc: linux-kernel, corbet, akpm, mingo, riel

On Fri, Jan 23, 2015 at 05:20:07PM +0900, Masanari Iida wrote:
> This patch adds default behavior of panic parameter in kernel.txt
> 
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> ---
>  Documentation/sysctl/kernel.txt | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt
> index 75511ef..3cae2bd 100644
> --- a/Documentation/sysctl/kernel.txt
> +++ b/Documentation/sysctl/kernel.txt
> @@ -527,6 +527,8 @@ panic:
>  The value in this file represents the number of seconds the kernel
>  waits before rebooting on a panic. When you use the software watchdog,
>  the recommended setting is 60.
> +A value of 0 will disable rebooting on a panic.
> +The default is 0.

Just copy the Kconfig text for uniformity (well, almost - it might need
adjusting to fit the tone/nomenclature of that file):

          A value of 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.

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
--

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-23 11:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-23  8:20 [PATCH] Doc: Add default behavior of panic parameter in kernel.txt Masanari Iida
2015-01-23 11:42 ` Borislav Petkov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.