Message ID | 20210107231243.zNctvhgUa%akpm@linux-foundation.org |
---|---|
State | New |
Headers | show |
Series | + mm-hugetlb-fix-potential-missing-huge-page-size-info.patch added to -mm tree | expand |
--- a/mm/hugetlb.c~mm-hugetlb-fix-potential-missing-huge-page-size-info +++ a/mm/hugetlb.c @@ -4371,7 +4371,7 @@ retry: * So we need to block hugepage fault by PG_hwpoison bit check. */ if (unlikely(PageHWPoison(page))) { - ret = VM_FAULT_HWPOISON | + ret = VM_FAULT_HWPOISON_LARGE | VM_FAULT_SET_HINDEX(hstate_index(h)); goto backout_unlocked; }