linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Kitt <steve@sk2.org>
To: Jonathan Corbet <corbet@lwn.net>,
	Mauro Carvalho Chehab <mchehab+samsung@kernel.org>,
	linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, Stephen Kitt <steve@sk2.org>
Subject: [PATCH v2 4/8] docs: add missing IPC documentation in sysctl/kernel.rst
Date: Tue, 18 Feb 2020 13:59:19 +0100	[thread overview]
Message-ID: <20200218125923.685-5-steve@sk2.org> (raw)
In-Reply-To: <20200218125923.685-1-steve@sk2.org>

This adds short descriptions of msgmax, msgmnb, msgmni, and shmmni,
which were previously listed in kernel.rst but not described.

Signed-off-by: Stephen Kitt <steve@sk2.org>
---
 Documentation/admin-guide/sysctl/kernel.rst | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation/admin-guide/sysctl/kernel.rst
index d4fa06cab255..76ff10f6f63a 100644
--- a/Documentation/admin-guide/sysctl/kernel.rst
+++ b/Documentation/admin-guide/sysctl/kernel.rst
@@ -409,6 +409,15 @@ to false.  Generally used with the `kexec_load_disabled`_ toggle.
 msgmax, msgmnb, and msgmni
 ==========================
 
+``msgmax`` is the maximum size of an IPC message, in bytes. 8192 by
+default (``MSGMAX``).
+
+``msgmnb`` is the maximum size of an IPC queue, in bytes. 16384 by
+default (``MSGMNB``).
+
+``msgmni`` is the maximum number of IPC queues. 32000 by default
+(``MSGMNI``).
+
 
 msg_next_id, sem_next_id, and shm_next_id (System V IPC)
 ========================================================
@@ -957,6 +966,9 @@ kernel.  This value defaults to ``SHMMAX``.
 shmmni
 ======
 
+This value determines the maximum number of shared memory segments.
+4096 by default (``SHMMNI``).
+
 
 shm_rmid_forced
 ===============
-- 
2.20.1


  parent reply	other threads:[~2020-02-18 13:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-18 12:59 [PATCH v2 0/8] docs: sysctl/kernel.rst rework Stephen Kitt
2020-02-18 12:59 ` [PATCH v2 1/8] docs: pretty up sysctl/kernel.rst Stephen Kitt
2020-02-18 12:59 ` [PATCH v2 2/8] docs: merge debugging-modules.txt into sysctl/kernel.rst Stephen Kitt
2020-02-18 12:59 ` [PATCH v2 3/8] docs: drop l2cr from sysctl/kernel.rst Stephen Kitt
2020-02-18 12:59 ` Stephen Kitt [this message]
2020-02-18 12:59 ` [PATCH v2 5/8] docs: document stop-a in sysctl/kernel.rst Stephen Kitt
2020-02-18 12:59 ` [PATCH v2 6/8] docs: document panic fully " Stephen Kitt
2020-02-18 12:59 ` [PATCH v2 7/8] docs: add a script to check sysctl docs Stephen Kitt
2020-02-19 10:44   ` Jonathan Corbet
2020-02-19 15:25     ` Stephen Kitt
2020-02-19 17:33       ` Jonathan Corbet
2020-02-18 12:59 ` [PATCH v2 8/8] docs: sysctl/kernel: remove rtsig entries Stephen Kitt
2020-02-19 10:45 ` [PATCH v2 0/8] docs: sysctl/kernel.rst rework 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=20200218125923.685-5-steve@sk2.org \
    --to=steve@sk2.org \
    --cc=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab+samsung@kernel.org \
    /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).