diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 38df8d824569..cad5e46339f6 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -5340,6 +5340,7 @@ void hugetlb_unshare_all_pmds(struct vm_area_struct *vma) if (start >= end) return; + flush_cache_range(vma, start, end); /* * No need to call adjust_range_if_pmd_sharing_possible(), because * we have already done the PUD_SIZE alignment.