Fix some cache flush bugs
Status from this message: [merged] mm-userfaultfd-fix-missing-cache-flush-in-mcopy_atomic_pte-and-__mcopy_atomic.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest7 patches 3 repliesApplied 7/7
- v45 patches 4 repliesSuperseded
- v35 patches 5 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 2 patches | 11 replies | Superseded | |
| v1 | 2 patches | 3 replies | Superseded |
Changes in v5 from the cover letter
- Collect Reviewed-by from Mike.
- Fix mcopy_atomic_pte() and __mcopy_atomic() (Mike).
- Fix shmem_mfill_atomic_pte().
Patches in v5 All 7 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | mm: thp: fix wrong cache flush in remove_migration_pmd()mm/ | +2 | 0 replies | Applied |
| 2/7 | mm: fix missing cache flush for all tail pages of compound pagemm/ | +5 | 0 replies | Applied |
| 3/7 | mm: hugetlb: fix missing cache flush in copy_huge_page_from_user()mm/ | +2 | 0 replies | Applied |
| 4/7 | mm: hugetlb: fix missing cache flush in hugetlb_mcopy_atomic_pte()mm/ | +2 | 0 replies | Applied |
| 5/7 | mm: shmem: fix missing cache flush in shmem_mfill_atomic_pte()mm/ | +3 | 2 replies | Applied |
| 6/7 | mm: userfaultfd: fix missing cache flush in mcopy_atomic_pte() and __mcopy_atomic()mm/ | +3 | 1 reply | Applied |
| 7/7 | mm: replace multiple dcache flush with flush_dcache_folio()mm/ | +2 | 0 replies | Applied |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Zi Yan | Mike Kravetz |
|---|---|---|
| 1/7 | R-b | |
| 2/7 | R-b | |
| 3/7 | R-b | |
| 4/7 | R-b | |
| 5/7 | R-b | |
| 6/7 | R-b | |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/7] Fix some cache flush bugs
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(-)
Signature · 1 line
2.11.0