[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150123114229.GE22635@pd.tnic>
Date: Fri, 23 Jan 2015 12:42:29 +0100
From: Borislav Petkov <bp@...en8.de>
To: Masanari Iida <standby24x7@...il.com>
Cc: linux-kernel@...r.kernel.org, corbet@....net,
akpm@...ux-foundation.org, mingo@...nel.org, riel@...hat.com
Subject: Re: [PATCH] Doc: Add default behavior of panic parameter in
kernel.txt
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@...il.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.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists