mm: cleanups for device-exclusive entries (hmm)
Status from this message: [merged mm-stable] mm-mmu_notifier-use-mmu_notify_clear-in-remove_device_exclusive_entry.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/25 patches 0 repliesApplied 5/5
- v2 posting 1/217 patches 13 repliesApplied 17/17
- v14 patches 15 repliesSuperseded
Changes in v2 from the cover letter
* Rebased on top of [1]
* "mm/memory: remove PageAnonExclusive sanity-check in restore_exclusive_pte()"
-> Added
* "mm/memory: document restore_exclusive_pte()"
-> adjust/clarify/simplify documentation
* "mm/mmu_notifier: use MMU_NOTIFY_CLEAR in remove_device_exclusive_entry()"
-> Use MMU_NOTIFY_EXCLUSIVE only for a single purpose such that we
always have the owner
Patches in v2 posting 2/2 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | lib/test_hmm: make dmirror_atomic_map() consume a single pagelib/ | +10 | 0 replies | Applied |
| 2/5 | mm/memory: remove PageAnonExclusive sanity-check in restore_exclusive_pte()mm/ | +0 | 0 replies | Applied |
| 3/5 | mm/memory: pass folio and pte to restore_exclusive_pte()mm/ | +14 | 0 replies | Applied |
| 4/5 | mm/memory: document restore_exclusive_pte()mm/ | +26 | 0 replies | Applied |
| 5/5 | mm/mmu_notifier: use MMU_NOTIFY_CLEAR in remove_device_exclusive_entry()include/ mm/ | +5 | 0 replies | Applied |
Reviews trailers per patch
2 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Alistair Popple |
|---|---|
| 1/5 | R-b |
| 2/5 | |
| 3/5 | R-b |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/5] mm: cleanups for device-exclusive entries (hmm)
Based on mm/mm-unstable, which already contains [1].
Some smaller device-exclusive cleanups I have lying around. Tested using the hmm selftests without surprises.
v1 -> v2:
* Rebased on top of [1]
* "mm/memory: remove PageAnonExclusive sanity-check in restore_exclusive_pte()"
-> Added
* "mm/memory: document restore_exclusive_pte()"
-> adjust/clarify/simplify documentation
* "mm/mmu_notifier: use MMU_NOTIFY_CLEAR in remove_device_exclusive_entry()"
-> Use MMU_NOTIFY_EXCLUSIVE only for a single purpose such that we
always have the owner
[1] https://lkml.kernel.org/r/[email protected]
David Hildenbrand (5):
lib/test_hmm: make dmirror_atomic_map() consume a single page mm/memory: remove PageAnonExclusive sanity-check in
restore_exclusive_pte()
mm/memory: pass folio and pte to restore_exclusive_pte() mm/memory: document restore_exclusive_pte() mm/mmu_notifier: use MMU_NOTIFY_CLEAR in
remove_device_exclusive_entry()
include/linux/mmu_notifier.h | 8 ++--- lib/test_hmm.c | 32 ++++++------------- mm/memory.c | 60 ++++++++++++++++++++++++------------ 3 files changed, 55 insertions(+), 45 deletions(-)
base-commit: 598d34afeca6bb10554846cf157a3ded8729516c
Signature · 1 line
2.48.1