summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide/sysctl/kernel.rst
diff options
context:
space:
mode:
authorStephen Kitt <steve@sk2.org>2020-02-18 13:59:19 +0100
committerJonathan Corbet <corbet@lwn.net>2020-02-19 03:34:25 -0700
commitfa5b526411bb5afe7736ce14bab18c0b68db4251 (patch)
treea9941cbd73c3502c978834827a3afc712e95f3ee /Documentation/admin-guide/sysctl/kernel.rst
parenta474105bb6a6fe85ea30d7fe0a087184da32c751 (diff)
docs: add missing IPC documentation in sysctl/kernel.rst
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> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/admin-guide/sysctl/kernel.rst')
-rw-r--r--Documentation/admin-guide/sysctl/kernel.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation/admin-guide/sysctl/kernel.rst
index 99569a26f93e..0ae52156db75 100644
--- a/Documentation/admin-guide/sysctl/kernel.rst
+++ b/Documentation/admin-guide/sysctl/kernel.rst
@@ -410,6 +410,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)
========================================================
@@ -958,6 +967,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
===============