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 2ce7acf841ae..48dae075d5c2 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -826,6 +826,14 @@ static ctl_table vm_table[] = { | |||
826 | .mode = 0644, | 826 | .mode = 0644, |
827 | .proc_handler = &proc_dointvec, | 827 | .proc_handler = &proc_dointvec, |
828 | }, | 828 | }, |
829 | { | ||
830 | .ctl_name = CTL_UNNUMBERED, | ||
831 | .procname = "hugepages_treat_as_movable", | ||
832 | .data = &hugepages_treat_as_movable, | ||
833 | .maxlen = sizeof(int), | ||
834 | .mode = 0644, | ||
835 | .proc_handler = &hugetlb_treat_movable_handler, | ||
836 | }, | ||
829 | #endif | 837 | #endif |
830 | { | 838 | { |
831 | .ctl_name = VM_LOWMEM_RESERVE_RATIO, | 839 | .ctl_name = VM_LOWMEM_RESERVE_RATIO, |