[PATCH 4/6] docs: add missing IPC documentation in sysctl/kernel.rst

From: Stephen Kitt
Date: Thu Feb 13 2020 - 13:06:21 EST


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@xxxxxxx>
---
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 9221366901af..29a712e24610 100644
--- a/Documentation/admin-guide/sysctl/kernel.rst
+++ b/Documentation/admin-guide/sysctl/kernel.rst
@@ -413,6 +413,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)
========================================================
@@ -961,6 +970,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.24.1