linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Joel Savitz <jsavitz@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: Joel Savitz <jsavitz@redhat.com>,
	Jonathan Corbet <corbet@lwn.net>,
	Andrew Morton <akpm@linux-foundation.org>,
	Huang Ying <ying.huang@intel.com>,
	Eric Biggers <ebiggers@google.com>,
	Dominik Brodowski <linux@dominikbrodowski.net>,
	Mauro Carvalho Chehab <mchehab+huawei@kernel.org>,
	Rasmus Villemoes <linux@rasmusvillemoes.dk>,
	"Jason A. Donenfeld" <Jason@zx2c4.com>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Rob Herring <robh@kernel.org>, Wang Qing <wangqing@vivo.com>,
	linux-doc@vger.kernel.org
Subject: [PATCH] Documentation/sysctl: document max_rcu_stall_to_panic
Date: Thu, 24 Mar 2022 18:11:56 -0400	[thread overview]
Message-ID: <20220324221156.44813-1-jsavitz@redhat.com> (raw)

commit dfe564045c65 ("rcu: Panic after fixed number of stalls")
introduced a new systctl but no accompanying documentation.

Add a simple entry to the documentation.

Signed-off-by: Joel Savitz <jsavitz@redhat.com>
---
 Documentation/admin-guide/sysctl/kernel.rst | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation/admin-guide/sysctl/kernel.rst
index 803c60bf21d3..4e48139b9a34 100644
--- a/Documentation/admin-guide/sysctl/kernel.rst
+++ b/Documentation/admin-guide/sysctl/kernel.rst
@@ -781,6 +781,13 @@ is useful to define the root cause of RCU stalls using a vmcore.
 1 panic() after printing RCU stall messages.
 = ============================================================
 
+max_rcu_stall_to_panic
+======================
+
+When ``panic_on_rcu_stall`` is set to 1, this value determines the
+number of times that RCU can stall before panic() is called.
+
+When ``panic_on_rcu_stall`` is set to 0, this value is has no effect.
 
 perf_cpu_time_max_percent
 =========================
-- 
2.27.0


             reply	other threads:[~2022-03-24 22:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-24 22:11 Joel Savitz [this message]
2022-04-21 19:24 ` [PATCH] Documentation/sysctl: document max_rcu_stall_to_panic Joel Savitz
2022-04-28 18:39   ` Jonathan Corbet
2022-04-28 18:49     ` Paul E. McKenney
2022-05-01 23:15       ` 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=20220324221156.44813-1-jsavitz@redhat.com \
    --to=jsavitz@redhat.com \
    --cc=Jason@zx2c4.com \
    --cc=akpm@linux-foundation.org \
    --cc=corbet@lwn.net \
    --cc=daniel@iogearbox.net \
    --cc=ebiggers@google.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@dominikbrodowski.net \
    --cc=linux@rasmusvillemoes.dk \
    --cc=mchehab+huawei@kernel.org \
    --cc=robh@kernel.org \
    --cc=wangqing@vivo.com \
    --cc=ying.huang@intel.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;
as well as URLs for NNTP newsgroup(s).