diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index afc1dc60f3f8..9edcf456e0fc 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -106,7 +106,6 @@ extern unsigned int core_pipe_limit; | |||
106 | #endif | 106 | #endif |
107 | extern int pid_max; | 107 | extern int pid_max; |
108 | extern int pid_max_min, pid_max_max; | 108 | extern int pid_max_min, pid_max_max; |
109 | extern int sysctl_drop_caches; | ||
110 | extern int percpu_pagelist_fraction; | 109 | extern int percpu_pagelist_fraction; |
111 | extern int compat_log; | 110 | extern int compat_log; |
112 | extern int latencytop_enabled; | 111 | extern int latencytop_enabled; |
@@ -1430,6 +1429,20 @@ static struct ctl_table vm_table[] = { | |||
1430 | .extra2 = &one, | 1429 | .extra2 = &one, |
1431 | }, | 1430 | }, |
1432 | #endif | 1431 | #endif |
1432 | { | ||
1433 | .procname = "user_reserve_kbytes", | ||
1434 | .data = &sysctl_user_reserve_kbytes, | ||
1435 | .maxlen = sizeof(sysctl_user_reserve_kbytes), | ||
1436 | .mode = 0644, | ||
1437 | .proc_handler = proc_doulongvec_minmax, | ||
1438 | }, | ||
1439 | { | ||
1440 | .procname = "admin_reserve_kbytes", | ||
1441 | .data = &sysctl_admin_reserve_kbytes, | ||
1442 | .maxlen = sizeof(sysctl_admin_reserve_kbytes), | ||
1443 | .mode = 0644, | ||
1444 | .proc_handler = proc_doulongvec_minmax, | ||
1445 | }, | ||
1433 | { } | 1446 | { } |
1434 | }; | 1447 | }; |
1435 | 1448 | ||