diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 8ac51714b08c..b85a1282605d 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -912,6 +912,14 @@ static struct ctl_table vm_table[] = { | |||
912 | .mode = 0644, | 912 | .mode = 0644, |
913 | .proc_handler = &proc_dointvec, | 913 | .proc_handler = &proc_dointvec, |
914 | }, | 914 | }, |
915 | { | ||
916 | .ctl_name = CTL_UNNUMBERED, | ||
917 | .procname = "nr_overcommit_hugepages", | ||
918 | .data = &nr_overcommit_huge_pages, | ||
919 | .maxlen = sizeof(nr_overcommit_huge_pages), | ||
920 | .mode = 0644, | ||
921 | .proc_handler = &proc_doulongvec_minmax, | ||
922 | }, | ||
915 | #endif | 923 | #endif |
916 | { | 924 | { |
917 | .ctl_name = VM_LOWMEM_RESERVE_RATIO, | 925 | .ctl_name = VM_LOWMEM_RESERVE_RATIO, |