Message ID | 20210504222134.OVXQ7jyUz%akpm@linux-foundation.org |
---|---|
State | New |
Headers | show |
Series | + mm-hugetlb-fix-cow-where-page-writtable-in-child.patch added to -mm tree | expand |
--- a/mm/hugetlb.c~mm-hugetlb-fix-cow-where-page-writtable-in-child +++ a/mm/hugetlb.c @@ -3898,6 +3898,7 @@ again: * See Documentation/vm/mmu_notifier.rst */ huge_ptep_set_wrprotect(src, addr, src_pte); + entry = huge_pte_wrprotect(entry); } page_dup_rmap(ptepage, true);