]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - kernel/sysctl.c
hugetlb: add locking for overcommit sysctl
[mirror_ubuntu-zesty-kernel.git] / kernel / sysctl.c
index 8c98d8147d883ac977d08ff8189b7fd4c1042136..9dadc9d88a03fee152dab6f83cfc6357ed5e405c 100644 (file)
@@ -982,7 +982,7 @@ static struct ctl_table vm_table[] = {
                .data           = &nr_overcommit_huge_pages,
                .maxlen         = sizeof(nr_overcommit_huge_pages),
                .mode           = 0644,
-               .proc_handler   = &proc_doulongvec_minmax,
+               .proc_handler   = &hugetlb_overcommit_handler,
        },
 #endif
        {