docs: admin-guide: update to current minimum pipe size default
PATCH v2 1/1 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.
---
The relevant man page was updated in7543e84442d7 ("pipe.7: Document change to default pipe size when soft limit is exceeded")
https://lore.kernel.org/linux-man/[email protected]/
---
Changes in v2:
- Better commit message (addressing Jonathan's feedback)
- Link to v1: https://lore.kernel.org/r/[email protected]
--- Documentation/admin-guide/sysctl/fs.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/admin-guide/sysctl/fs.rst +2 -2
@@ -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
---
base-commit: 038d61fd642278bab63ee8ef722c50d10ab01e8f
change-id: 20250728-pipedoc-ed3789cc42dc
Quoted 14 lines · Štěpán Němec
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 <[email protected]>---
The relevant man page was updated in7543e84442d7("pipe.7: Document change to default pipe size when soft limit is exceeded")
https://lore.kernel.org/linux-man/[email protected]/
---
Changes in v2:
- Better commit message (addressing Jonathan's feedback)
- Link to v1: https://lore.kernel.org/r/[email protected]
Quoted 4 lines
--- Documentation/admin-guide/sysctl/fs.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
jon