mm-hugetlb-fix-missing-cache-flush-in-copy_huge_page_from_user.patch removed from -mm tree
The patch titled
Subject: mm: hugetlb: fix missing cache flush in copy_huge_page_from_user()
has been removed from the -mm tree. Its filename was
mm-hugetlb-fix-missing-cache-flush-in-copy_huge_page_from_user.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Muchun Song <[email protected]>
Subject: mm: hugetlb: fix missing cache flush in copy_huge_page_from_user()
userfaultfd calls copy_huge_page_from_user() which does not do any cache flushing for the target page. Then the target page will be mapped to the user space with a different address (user address), which might have an alias issue with the kernel address used to copy the data from the user to. Fix this issue by flushing dcache in copy_huge_page_from_user().
---
mm/memory.c | 2 ++ 1 file changed, 2 insertions(+)
mm/memory.c renamed from mm/memory.c~mm-hugetlb-fix-missing-cache-flush-in-copy_huge_page_from_user +2 -0
@@ -5444,6 +5444,8 @@ long copy_huge_page_from_user(struct pagif (rc)break ; +flush_dcache_page (subpage); +cond_resched (); }return ret_val;
_
Patches currently in -mm which might be from [email protected] are