Thread (4 messages) 4 messages, 2 authors, 2024-08-29

Re: [PATCH 2/2] pipe.7: Reference potential lower default in pipe capacity section

From: Alejandro Colomar <alx@kernel.org>
Date: 2024-08-29 17:30:40

Hi Kienan,

On Thu, Aug 29, 2024 at 11:43:04AM GMT, Kienan Stewart wrote:
The pipe capacity section makes no indication that the default
capacity of pipes may not be `16 * PAGE_SIZE` for users exceeding the
`pipe_user_pages_soft` limit.

Signed-off-by: Kienan Stewart <redacted>
---
Thanks for the patch!  I've applied it, with small tweaks to the commit
message.
<https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=663202e816e27dbfb5fddfeb2b93a86919f69027>

Have a lovely day!
Alex
quoted hunk ↗ jump to hunk
 man/man7/pipe.7 | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/man/man7/pipe.7 b/man/man7/pipe.7
index c7f3fbb9e..3d853d27c 100644
--- a/man/man7/pipe.7
+++ b/man/man7/pipe.7
@@ -131,6 +131,9 @@ operations.
 See
 .BR fcntl (2)
 for more information.
+Since Linux 4.5, the default pipe capacity is lower than 16 pages when the
+.I pipe\-user\-pages\-soft
+limit is exceeded.
 .P
 The following
 .BR ioctl (2)
-- 
2.45.2
-- 
<https://www.alejandro-colomar.es/>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help