linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Štěpán Němec" <stepnem@smrk.net>
To: Jonathan Corbet <corbet@lwn.net>
Cc: "Alex Xu (Hello71)" <alex_y_xu@yahoo.ca>,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	"Štěpán Němec" <stepnem@smrk.net>
Subject: [PATCH v2] docs: admin-guide: update to current minimum pipe size default
Date: Tue, 29 Jul 2025 20:40:36 +0200	[thread overview]
Message-ID: <20250729-pipedoc-v2-1-18b8e735a9c6@smrk.net> (raw)

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>
---
The relevant man page was updated in
7543e84442d7 ("pipe.7: Document change to default pipe size when soft limit is exceeded")
https://lore.kernel.org/linux-man/20240829204448.2027276-2-kstewart@efficios.com/
---
Changes in v2:
- Better commit message (addressing Jonathan's feedback)
- Link to v1: https://lore.kernel.org/r/20250728-pipedoc-v1-1-2dae082a56f5@smrk.net
---
 Documentation/admin-guide/sysctl/fs.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/admin-guide/sysctl/fs.rst b/Documentation/admin-guide/sysctl/fs.rst
index 6c54718c9d04ba0e690d064bc50f97ef883234fa..9b7f65c3efd8020d62df5b00388c48f2435da3e3 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

---
base-commit: 038d61fd642278bab63ee8ef722c50d10ab01e8f
change-id: 20250728-pipedoc-ed3789cc42dc


             reply	other threads:[~2025-07-29 18:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-29 18:40 Štěpán Němec [this message]
2025-08-11 17:11 ` [PATCH v2] docs: admin-guide: update to current minimum pipe size default 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=20250729-pipedoc-v2-1-18b8e735a9c6@smrk.net \
    --to=stepnem@smrk.net \
    --cc=alex_y_xu@yahoo.ca \
    --cc=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.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).