]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blobdiff - include/linux/hugetlb.h
hugetlb: add locking for overcommit sysctl
[mirror_ubuntu-kernels.git] / include / linux / hugetlb.h
index 30d606afcafe98c9f22cce117082cc3cb2af83ed..7ca198b379afb59b1cc1d6a653926a03b35123cd 100644 (file)
@@ -17,6 +17,7 @@ static inline int is_vm_hugetlb_page(struct vm_area_struct *vma)
 }
 
 int hugetlb_sysctl_handler(struct ctl_table *, int, struct file *, void __user *, size_t *, loff_t *);
+int hugetlb_overcommit_handler(struct ctl_table *, int, struct file *, void __user *, size_t *, loff_t *);
 int hugetlb_treat_movable_handler(struct ctl_table *, int, struct file *, void __user *, size_t *, loff_t *);
 int copy_hugetlb_page_range(struct mm_struct *, struct mm_struct *, struct vm_area_struct *);
 int follow_hugetlb_page(struct mm_struct *, struct vm_area_struct *, struct page **, struct vm_area_struct **, unsigned long *, int *, int, int);