From: Don Zickus <dzickus@redhat.com>
To: Scott Wood <swood@redhat.com>
Cc: Jonathan Corbet <corbet@lwn.net>,
linux-kernel@vger.kernel.org,
Christoph von Recklinghausen <crecklin@redhat.com>
Subject: Re: [PATCH] Documentation: Better document the hardlockup_panic sysctl
Date: Mon, 11 Dec 2017 09:43:48 -0500 [thread overview]
Message-ID: <20171211144347.dcxxv2cfonyrjmca@redhat.com> (raw)
In-Reply-To: <20171210074846.20180-1-swood@redhat.com>
On Sun, Dec 10, 2017 at 01:48:46AM -0600, Scott Wood wrote:
> Commit ac1f591249d95372f ("kernel/watchdog.c: add sysctl knob
> hardlockup_panic") added the hardlockup_panic sysctl, but did not add it
> to Documentation/sysctl/kernel.txt. Add this, and reference it from the
> corresponding entry in Documentation/admin-guide/kernel-parameters.txt.
Acked-by: Don Zickus <dzickus@redhat.com>
>
> Signed-off-by: Scott Wood <swood@redhat.com>
> ---
> Documentation/admin-guide/kernel-parameters.txt | 3 +++
> Documentation/sysctl/kernel.txt | 14 ++++++++++++++
> 2 files changed, 17 insertions(+)
>
> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
> index 6571fbfdb2a1..dfb7c35b5826 100644
> --- a/Documentation/admin-guide/kernel-parameters.txt
> +++ b/Documentation/admin-guide/kernel-parameters.txt
> @@ -2538,6 +2538,9 @@
> This is useful when you use a panic=... timeout and
> need the box quickly up again.
>
> + These settings can be accessed at runtime via
> + the nmi_watchdog and hardlockup_panic sysctls.
> +
> netpoll.carrier_timeout=
> [NET] Specifies amount of time (in seconds) that
> netpoll should wait for a carrier. By default netpoll
> diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt
> index 694968c7523c..63663039acb7 100644
> --- a/Documentation/sysctl/kernel.txt
> +++ b/Documentation/sysctl/kernel.txt
> @@ -34,6 +34,7 @@ show up in /proc/sys/kernel:
> - hostname
> - hotplug
> - hardlockup_all_cpu_backtrace
> +- hardlockup_panic
> - hung_task_panic
> - hung_task_check_count
> - hung_task_timeout_secs
> @@ -313,6 +314,19 @@ will be initiated.
> 1: on detection capture more debug information.
> ==============================================================
>
> +hardlockup_panic:
> +
> +This parameter can be used to control whether the kernel panics
> +when a hard lockup is detected.
> +
> + 0 - don't panic on hard lockup
> + 1 - panic on hard lockup
> +
> +See Documentation/lockup-watchdogs.txt for more information. This can
> +also be set using the nmi_watchdog kernel parameter.
> +
> +==============================================================
> +
> hotplug:
>
> Path for the hotplug policy agent.
> --
> 2.9.5
>
next prev parent reply other threads:[~2017-12-11 14:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-10 7:48 [PATCH] Documentation: Better document the hardlockup_panic sysctl Scott Wood
2017-12-10 11:35 ` Christoph von Recklinghausen
2017-12-11 14:43 ` Don Zickus [this message]
2017-12-11 21:56 ` Jonathan Corbet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171211144347.dcxxv2cfonyrjmca@redhat.com \
--to=dzickus@redhat.com \
--cc=corbet@lwn.net \
--cc=crecklin@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=swood@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox