summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŠtěpán Němec <stepnem@smrk.net>2025-07-29 21:40:36 +0300
committerJonathan Corbet <corbet@lwn.net>2025-08-11 20:10:57 +0300
commit7069b5296e968d0e7d5fd6b825f221f0d766f3ea (patch)
tree0b42759d7b3815b84d4a5ab51ea7edbae4327839
parent4fff5db420fef91d439f87f6c0d439ef291b3dd2 (diff)
downloadlinux-7069b5296e968d0e7d5fd6b825f221f0d766f3ea.tar.xz
docs: admin-guide: update to current minimum pipe size default
The pipe size limit used when the fs.pipe-user-pages-soft sysctl value is reached was increased from one to two pages in commit 46c4c9d1beb7; update the documentation to match the new reality. Fixes: 46c4c9d1beb7 ("pipe: increase minimum default pipe size to 2 pages") Signed-off-by: Štěpán Němec <stepnem@smrk.net> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/20250729-pipedoc-v2-1-18b8e735a9c6@smrk.net
-rw-r--r--Documentation/admin-guide/sysctl/fs.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/admin-guide/sysctl/fs.rst b/Documentation/admin-guide/sysctl/fs.rst
index 6c54718c9d04..9b7f65c3efd8 100644
--- a/Documentation/admin-guide/sysctl/fs.rst
+++ b/Documentation/admin-guide/sysctl/fs.rst
@@ -164,8 +164,8 @@ pipe-user-pages-soft
--------------------
Maximum total number of pages a non-privileged user may allocate for pipes
-before the pipe size gets limited to a single page. Once this limit is reached,
-new pipes will be limited to a single page in size for this user in order to
+before the pipe size gets limited to two pages. Once this limit is reached,
+new pipes will be limited to two pages in size for this user in order to
limit total memory usage, and trying to increase them using ``fcntl()`` will be
denied until usage goes below the limit again. The default value allows to
allocate up to 1024 pipes at their default size. When set to 0, no limit is