diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2010-05-19 23:03:16 +0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-05-21 23:12:52 +0400 |
commit | b492e95be0ae672922f4734acf3f5d35c30be948 (patch) | |
tree | a8a1e7f035903796e6b8f626add8d269bf989a35 /arch/arm/oprofile/op_model_xscale.c | |
parent | 35f3d14dbbc58447c61e38a162ea10add6b31dc7 (diff) | |
download | linux-b492e95be0ae672922f4734acf3f5d35c30be948.tar.xz |
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 <jens.axboe@oracle.com>
Diffstat (limited to 'arch/arm/oprofile/op_model_xscale.c')
0 files changed, 0 insertions, 0 deletions