mm: A few cleanup patches around zap, shmem and uffd
Status from this message: [merged] mm-add-zap_skip_check_mapping-helper.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest4 patches 10 repliesApplied 4/4
- v35 patches 8 repliesSuperseded
- v25 patches 12 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 5 patches | 8 replies | Superseded |
Changes in v4 from the cover letter
- Patch "mm: Drop first_index/last_index in zap_details"
- Put first_index and last_index into two lines [Liam]
- Pick up r-bs
- Drop patch 5 for future
Patches in v4 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | mm/shmem: Unconditionally set pte dirty in mfill_atomic_install_ptemm/ mm/ | +1 | 6 replies | Applied |
| 2/4 | mm: Clear vmf->pte after pte_unmap_same() returnsmm/ | +6 | 1 reply | Applied |
| 3/4 | mm: Drop first_index/last_index in zap_detailsinclude/ mm/ | +18 | 1 reply | Applied |
| 4/4 | mm: Add zap_skip_check_mapping() helperinclude/ mm/ | +21 | 2 replies | Applied |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Axel Rasmussen | Miaohe Lin | David Hildenbrand | Liam Howlett | Alistair Popple | Hugh Dickins |
|---|---|---|---|---|---|---|
| 1/4 | R-b | |||||
| 2/4 | R-b | R-b | R-b | A-b | ||
| 3/4 | R-b | R-b | R-b | A-b | ||
| 4/4 | 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 6 reviewers.
Cover letter [PATCH v4 0/4] mm: A few cleanup patches around zap, shmem and uffd
[Based on v5.14-rc1]
Hi, Andrew,
I dropped patch 5 and will do it later when it justifies itself better. Each patch of this series now contains at least 1 R-b, would you consider merge it?
Thanks,
v4:
- Patch "mm: Drop first_index/last_index in zap_details"
- Put first_index and last_index into two lines [Liam]
- Pick up r-bs
- Drop patch 5 for future
v3:
- Patch "mm: Add zap_skip_check_mapping() helper"
- In zap_skip_check_mapping() check zap_mapping first [Alistair]
- Patch "mm: Add ZAP_FLAG_SKIP_SWAP and zap_flags":
- Fix English errors in commit message [David]
- Drop paragraph mentioning commit 22061a1ffabd in commit msg
- Set ZAP_FLAG_SKIP_SWAP for unmap_mapping_page() too
- Pick up r-bs
v2:
- Patch "mm: Clear vmf->pte after pte_unmap_same() returns"
- Remove one comment [David]
- Collect r-b for patch 2/3
- Rewrite the last two patches to drop ZAP_FLAG_CHECK_MAPPING, dropping Alistair's r-b on patch 5 because it changed [David, Matthew]
===== v1 cover letter =====
I picked up these patches from uffd-wp v5 series here:
https://lore.kernel.org/lkml/[email protected]/
IMHO all of them are very nice cleanups to existing code already, they're all small and self-contained. They'll be needed by uffd-wp coming series. I would appreciate if they can be accepted earlier, so as to not carry them over always with the uffd-wp series.
I removed some CC from the uffd-wp v5 series to reduce the noise, and added a few more into it.
Reviews are greatly welcomed, thanks.
Peter Xu (4):
mm/shmem: Unconditionally set pte dirty in mfill_atomic_install_pte
mm: Clear vmf->pte after pte_unmap_same() returns
mm: Drop first_index/last_index in zap_details
mm: Add zap_skip_check_mapping() helper
include/linux/mm.h | 18 ++++++++++-- mm/memory.c | 72 +++++++++++++++++++--------------------------- mm/shmem.c | 1 - mm/userfaultfd.c | 3 +- 4 files changed, 46 insertions(+), 48 deletions(-)
Signature · 1 line
2.31.1