[PATCH v2 8/8] pipe: cap initial pipe capacity according to pipe-max-size limit

2016-08-28 Thread Michael Kerrisk (man-pages)
This is a patch that provides behavior that is more consistent, and probably less surprising to users. I consider the change optional, and welcome opinions about whether it should be applied. By default, pipes are created with a capacity of 64 kiB. However, /proc/sys/fs/pipe-max-size may be set

[PATCH v2 8/8] pipe: cap initial pipe capacity according to pipe-max-size limit

2016-08-28 Thread Michael Kerrisk (man-pages)
This is a patch that provides behavior that is more consistent, and probably less surprising to users. I consider the change optional, and welcome opinions about whether it should be applied. By default, pipes are created with a capacity of 64 kiB. However, /proc/sys/fs/pipe-max-size may be set