X-Git-Url: https://git.kernel.dk/?p=linux-2.6-block.git;a=blobdiff_plain;f=kernel%2Fsysctl.c;h=7742d27e08f285aeacd25e5434206ab5a0483ba9;hp=90f536d846439439593af5f85c92bace046c611e;hb=727099ff1e203a250db328dae8d4ff7d49898328;hpb=f9f8b5480eab28a15498e0f4af566c82a68f94fd diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 90f536d84643..7742d27e08f2 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -52,6 +52,7 @@ #include #include #include +#include #include #include @@ -1423,6 +1424,14 @@ static struct ctl_table fs_table[] = { .child = binfmt_misc_table, }, #endif + { + .procname = "pipe-max-pages", + .data = &pipe_max_pages, + .maxlen = sizeof(int), + .mode = 0644, + .proc_handler = &proc_dointvec_minmax, + .extra1 = &two, + }, /* * NOTE: do not add new entries to this table unless you have read * Documentation/sysctl/ctl_unnumbered.txt