Message ID | 20210515002707.LZb1SqAkO%akpm@linux-foundation.org |
---|---|
State | New |
Headers | show |
Series | [01/13] mm/hugetlb: fix F_SEAL_FUTURE_WRITE | expand |
--- a/mm/hugetlb.c~mm-hugetlb-fix-cow-where-page-writtable-in-child +++ a/mm/hugetlb.c @@ -4056,6 +4056,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);