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

[PATCH v2 1/1] pipe.7: Note change to default pipe size when soft limit is exceeded

From: Kienan Stewart <hidden>
Date: 2024-08-29 20:45:31
Subsystem: the rest · Maintainer: Linus Torvalds

See upstream commit:

    commit 46c4c9d1beb7f5b4cec4dd90e7728720583ee348
    Author: Alex Xu (Hello71) [off-list ref]
    Date:   Thu Aug 5 10:40:47 2021 -0400

        pipe: increase minimum default pipe size to 2 pages

Signed-off-by: Kienan Stewart <redacted>
---

Hi Alex,

I appreciate your feedback! I've made the changes requested.

Here is a range-diff against v1 and the new v2 patch.

thanks,
kienan

Range-diff against v1:
1:  7957cb086 < -:  --------- pipe.7: Note change to default pipe size when soft limit is exceeded
2:  b0aa965eb ! 1:  4074d2770 pipe.7: Note change to default pipe size when soft limit is exceeded
    @@ man/man7/pipe.7: nor the
      for this user is at this limit,
     -individual pipes created by a user will be limited to one page,
     -and attempts to increase a pipe's capacity will be denied.
    --As of Linux 5.14 the default capacity of individual pipes created
    --by a user is two pages instead. Users may reduce the pipe capacity
    --below this default value.
     +individual pipes created by a user will be limited to two pages
     +(one page before Linux 5.14), and attempts to increase a pipe's
     +capacity will be denied.

 man/man7/pipe.7 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/man/man7/pipe.7 b/man/man7/pipe.7
index d1fad9974..ba5b77df3 100644
--- a/man/man7/pipe.7
+++ b/man/man7/pipe.7
@@ -221,8 +221,9 @@ nor the
 capability).
 So long as the total number of pages allocated to pipe buffers
 for this user is at this limit,
-individual pipes created by a user will be limited to one page,
-and attempts to increase a pipe's capacity will be denied.
+individual pipes created by a user will be limited to two pages
+(one page before Linux 5.14), and attempts to increase a pipe's
+capacity will be denied.
 .IP
 When the value of this limit is zero, no soft limit is applied.
 The default value for this file is 16384,
-- 
2.45.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help