diff options
Diffstat (limited to 'kernel/sysctl.c')
| -rw-r--r-- | kernel/sysctl.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 8686b0f5fc12..c649d1c5fe09 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
| @@ -52,6 +52,7 @@ | |||
| 52 | #include <linux/slow-work.h> | 52 | #include <linux/slow-work.h> |
| 53 | #include <linux/perf_event.h> | 53 | #include <linux/perf_event.h> |
| 54 | #include <linux/kprobes.h> | 54 | #include <linux/kprobes.h> |
| 55 | #include <linux/pipe_fs_i.h> | ||
| 55 | 56 | ||
| 56 | #include <asm/uaccess.h> | 57 | #include <asm/uaccess.h> |
| 57 | #include <asm/processor.h> | 58 | #include <asm/processor.h> |
| @@ -1423,6 +1424,14 @@ static struct ctl_table fs_table[] = { | |||
| 1423 | .child = binfmt_misc_table, | 1424 | .child = binfmt_misc_table, |
| 1424 | }, | 1425 | }, |
| 1425 | #endif | 1426 | #endif |
| 1427 | { | ||
| 1428 | .procname = "pipe-max-pages", | ||
| 1429 | .data = &pipe_max_pages, | ||
| 1430 | .maxlen = sizeof(int), | ||
| 1431 | .mode = 0644, | ||
| 1432 | .proc_handler = &proc_dointvec_minmax, | ||
| 1433 | .extra1 = &two, | ||
| 1434 | }, | ||
| 1426 | /* | 1435 | /* |
| 1427 | * NOTE: do not add new entries to this table unless you have read | 1436 | * NOTE: do not add new entries to this table unless you have read |
| 1428 | * Documentation/sysctl/ctl_unnumbered.txt | 1437 | * Documentation/sysctl/ctl_unnumbered.txt |
