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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



See upstream commit:

    commit 46c4c9d1beb7f5b4cec4dd90e7728720583ee348
    Author: Alex Xu (Hello71) <alex_y_xu@xxxxxxxx>
    Date:   Thu Aug 5 10:40:47 2021 -0400

        pipe: increase minimum default pipe size to 2 pages

Signed-off-by: Kienan Stewart <kstewart@xxxxxxxxxxxx>
---

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





[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux