linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/7] Fix some cache flush bugs
@ 2022-02-10 12:30 Muchun Song
  2022-02-10 12:30 ` [PATCH v5 1/7] mm: thp: fix wrong cache flush in remove_migration_pmd() Muchun Song
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Muchun Song @ 2022-02-10 12:30 UTC (permalink / raw)
  To: akpm, zi.yan, kirill.shutemov, rientjes, lars.persson, mike.kravetz, ziy
  Cc: linux-mm, linux-kernel, duanxiongchun, fam.zheng, Muchun Song

This series focus on fixing cache maintenance.

v5:
  - Collect Reviewed-by from Mike.
  - Fix mcopy_atomic_pte() and __mcopy_atomic() (Mike).
  - Fix shmem_mfill_atomic_pte().

v4:
  - Replace folio_copy() with copy_user_huge_page().
  - Update commit message for patch 2.

v3:
  - Collect Reviewed-by tag from Zi Yan.
  - Fix hugetlb cache maintenance.

v2:
  - Collect Reviewed-by tag from Zi Yan.
  - Using a for loop instead of the folio variant for backportability.

Muchun Song (7):
  mm: thp: fix wrong cache flush in remove_migration_pmd()
  mm: fix missing cache flush for all tail pages of compound page
  mm: hugetlb: fix missing cache flush in copy_huge_page_from_user()
  mm: hugetlb: fix missing cache flush in hugetlb_mcopy_atomic_pte()
  mm: shmem: fix missing cache flush in shmem_mfill_atomic_pte()
  mm: userfaultfd: fix missing cache flush in mcopy_atomic_pte() and
    __mcopy_atomic()
  mm: replace multiple dcache flush with flush_dcache_folio()

 mm/huge_memory.c | 3 ++-
 mm/hugetlb.c     | 3 ++-
 mm/memory.c      | 2 ++
 mm/migrate.c     | 3 +--
 mm/shmem.c       | 4 +++-
 mm/userfaultfd.c | 3 +++
 6 files changed, 13 insertions(+), 5 deletions(-)

-- 
2.11.0



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-02-16  6:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-10 12:30 [PATCH v5 0/7] Fix some cache flush bugs Muchun Song
2022-02-10 12:30 ` [PATCH v5 1/7] mm: thp: fix wrong cache flush in remove_migration_pmd() Muchun Song
2022-02-10 12:30 ` [PATCH v5 2/7] mm: fix missing cache flush for all tail pages of compound page Muchun Song
2022-02-10 12:30 ` [PATCH v5 3/7] mm: hugetlb: fix missing cache flush in copy_huge_page_from_user() Muchun Song
2022-02-10 12:30 ` [PATCH v5 4/7] mm: hugetlb: fix missing cache flush in hugetlb_mcopy_atomic_pte() Muchun Song
2022-02-10 12:30 ` [PATCH v5 5/7] mm: shmem: fix missing cache flush in shmem_mfill_atomic_pte() Muchun Song
2022-02-15 19:11   ` Mike Kravetz
2022-02-16  6:16     ` Muchun Song
2022-02-10 12:30 ` [PATCH v5 6/7] mm: userfaultfd: fix missing cache flush in mcopy_atomic_pte() and __mcopy_atomic() Muchun Song
2022-02-15 19:13   ` Mike Kravetz
2022-02-10 12:30 ` [PATCH v5 7/7] mm: replace multiple dcache flush with flush_dcache_folio() Muchun Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).