Fix some bugs related to ramp and dax
Status from this message: [merged mm-stable] mm-simplify-follow_invalidate_pte.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest6 patches 0 repliesApplied 6/6
- v66 patches 3 repliesSuperseded
- v56 patches 12 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 6 patches | 10 replies | Superseded | |
| v3 | 6 patches | 2 replies | Superseded | |
| v2 | 6 patches | 3 replies | Superseded | |
| v1 | 5 patches | 8 replies | Superseded |
Changes in v7 from the cover letter
- Remove redurant "*" above vma_address() reported by Christoph.
- Fix oops (reported by Qian) on arm64 by using "pmd_present() && pmd_devmap()" to workaround the bug in pmd_leaf() on arm64, which is fixed in another patch [1].
Patches in v7 All 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | mm: rmap: fix cache flush on THP pagesmm/ | +2 | 0 replies | Applied |
| 2/6 | dax: fix cache flush on PMD-mapped pagesfs/ | +2 | 0 replies | Applied |
| 3/6 | mm: rmap: introduce pfn_mkclean_range() to cleans PTEsinclude/ mm/ mm/ | +74 | 0 replies | Applied |
| 4/6 | mm: pvmw: add support for walking devmap pagesmm/ | +9 | 0 replies | Applied |
| 5/6 | dax: fix missing writeprotect the pte entryfs/ | +12 | 0 replies | Applied |
| 6/6 | mm: simplify follow_invalidate_pte()include/ mm/ | +23 | 0 replies | Applied |
Reviews trailers per patch
4 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Yang Shi | Dan Williams | Christoph Hellwig |
|---|---|---|---|
| 1/6 | R-b | R-b | R-b |
| 2/6 | R-b | R-b | |
| 3/6 | |||
| 4/6 | |||
| 5/6 | R-b | ||
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v7 0/6] Fix some bugs related to ramp and dax
This series is based on next-20220225.
Patch 1-2 fix a cache flush bug, because subsequent patches depend on those on those changes, there are placed in this series. Patch 3-4 are preparation for fixing a dax bug in patch 5. Patch 6 is code cleanup since the previous patch remove the usage of follow_invalidate_pte().
v7:
- Remove redurant "*" above vma_address() reported by Christoph.
- Fix oops (reported by Qian) on arm64 by using "pmd_present() && pmd_devmap()" to workaround the bug in pmd_leaf() on arm64, which is fixed in another patch [1].
[1] https://lore.kernel.org/all/[email protected]/
v6:
- Collect Reviewed-by from Christoph Hellwig.
- Fold dax_entry_mkclean() into dax_writeback_one().
v5:
- Collect Reviewed-by from Dan Williams.
- Fix panic reported by kernel test robot <[email protected]>.
- Remove pmdpp parameter from follow_invalidate_pte() and fold it into follow_pte().
v4:
- Fix compilation error on riscv.
v3:
- Based on next-20220225.
v2:
- Avoid the overly long line in lots of places suggested by Christoph.
- Fix a compiler warning reported by kernel test robot since pmd_pfn() is not defined when !CONFIG_TRANSPARENT_HUGEPAGE on powerpc architecture.
- Split a new patch 4 for preparation of fixing the dax bug.
Muchun Song (6):
mm: rmap: fix cache flush on THP pages
dax: fix cache flush on PMD-mapped pages
mm: rmap: introduce pfn_mkclean_range() to cleans PTEs
mm: pvmw: add support for walking devmap pages
dax: fix missing writeprotect the pte entry
mm: simplify follow_invalidate_pte()
fs/dax.c | 98 +++++++--------------------------------------------- include/linux/mm.h | 3 -- include/linux/rmap.h | 3 ++ mm/internal.h | 26 +++++++++----- mm/memory.c | 81 ++++++++++++------------------------------- mm/page_vma_mapped.c | 17 ++++----- mm/rmap.c | 68 +++++++++++++++++++++++++++++------- 7 files changed, 120 insertions(+), 176 deletions(-)
Signature · 1 line
2.11.0