aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/file2alias.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2010-05-19 19:03:16 +0000
committerJens Axboe <[email protected]>2010-05-21 19:12:52 +0000
commitb492e95be0ae672922f4734acf3f5d35c30be948 (patch)
treea8a1e7f035903796e6b8f626add8d269bf989a35 /scripts/mod/file2alias.c
parentpipe: add support for shrinking and growing pipes (diff)
downloadkernel-b492e95be0ae672922f4734acf3f5d35c30be948.tar.gz
kernel-b492e95be0ae672922f4734acf3f5d35c30be948.zip
pipe: set lower and upper limit on max pages in the pipe page array
We need at least two to guarantee proper POSIX behaviour, so never allow a smaller limit than that. Also expose a /proc/sys/fs/pipe-max-pages sysctl file that allows root to define a sane upper limit. Make it default to 16 times the default size, which is 16 pages. Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions