--- x/mm/hugetlb.c +++ h/mm/hugetlb.c @@ -6810,6 +6810,7 @@ static bool __vma_shareable_flags_pmd(st void hugetlb_vma_lock_read(struct vm_area_struct *vma) { + return; if (__vma_shareable_flags_pmd(vma)) { struct hugetlb_vma_lock *vma_lock = vma->vm_private_data; @@ -6819,6 +6820,7 @@ void hugetlb_vma_lock_read(struct vm_are void hugetlb_vma_unlock_read(struct vm_area_struct *vma) { + return; if (__vma_shareable_flags_pmd(vma)) { struct hugetlb_vma_lock *vma_lock = vma->vm_private_data;