diff --git a/mm/hugetlb.c b/mm/hugetlb.c index bf7efe630e76..e1c7c9c189f9 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -5783,6 +5783,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.