[PATCH 0/2] Fix cache flush issues considering PMD sharing

From: Baolin Wang
Date: Sun Apr 24 2022 - 10:50:30 EST


Hi,

This patch set fixes some cache flushing issues if PMD sharing is
possible for hugetlb pages, which were found by code inspection.
Please help to review. Thanks.


Baolin Wang (2):
mm: hugetlb: Considering PMD sharing when flushing cache/TLBs
mm: rmap: Move the cache flushing to the correct place for hugetlb PMD
sharing

mm/hugetlb.c | 17 +++++++++++++++--
mm/mremap.c | 2 +-
mm/rmap.c | 40 ++++++++++++++++++++++------------------
3 files changed, 38 insertions(+), 21 deletions(-)

--
1.8.3.1