From: Jens Axboe Date: Wed, 19 May 2010 19:03:16 +0000 (+0200) Subject: pipe: set lower and upper limit on max pages in the pipe page array X-Git-Tag: v2.6.35-rc1~442^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b492e95be0ae672922f4734acf3f5d35c30be948;p=pandora-kernel.git 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 --- Reading git-diff-tree failed