mm: mincore: misc cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest5 patches 10 repliesIn review
Changes in v2 from the cover letter
- Separate per-VMA lock changes as suggested by Pedro, it should be based on the new API [1], will resend once new API out.
- Check VM_PFNMAP explicitly in can_do_mincore() to avoid trigger a split in the page table walk, found in sashiko[[2]
- Replace GFP_USER with GFP_KERNEL, suggested by Andrew
- Add Pedro RB and mincore_page() refactor patch
[1] https://lore.kernel.org/linux-mm/[email protected]/
[2] https://sashiko.dev/#/patchset/20260701144047.3786939-1-wangkefeng.wang%40huawei.com?part=2
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | mm: mincore: remove special handling for VM_PFNMAPmm/ | +1 | 5 replies | |
| 2/5 | mm: mincore: replace __get_free_page() with kmalloc()mm/ | +3 | 1 reply | |
| 3/5 | mm: mincore: remove xa_is_value() in mincore_swap()mm/ | +1 | 1 reply | |
| 4/5 | mm: mincore: improve mincore_hugetlb()mm/ | +7 | 2 replies | |
| 5/5 | mm: mincore: refactor mincore_page()mm/ | +10 | 1 reply |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Pedro Falcato | David Hildenbrand (Arm) |
|---|---|---|
| 1/5 | ||
| 2/5 | R-b | A-b |
| 3/5 | R-b | A-b |
| 4/5 | R-b | |
| 5/5 | A-b |
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: mincore: misc cleanups
This series cleans up and simplifies the mincore. Most importantly, it removes the historical special handling for VM_PFNMAP mappings, reporting them as resident memory instead of always being non-resident memory.
v2:
- Separate per-VMA lock changes as suggested by Pedro, it should be based on the new API [1], will resend once new API out.
- Check VM_PFNMAP explicitly in can_do_mincore() to avoid trigger a split in the page table walk, found in sashiko[[2]
- Replace GFP_USER with GFP_KERNEL, suggested by Andrew
- Add Pedro RB and mincore_page() refactor patch
[1] https://lore.kernel.org/linux-mm/[email protected]/
[2] https://sashiko.dev/#/patchset/20260701144047.3786939-1-wangkefeng.wang%40huawei.com?part=2
Kefeng Wang (5):
mm: mincore: remove special handling for VM_PFNMAP
mm: mincore: replace __get_free_page() with kmalloc()
mm: mincore: remove xa_is_value() in mincore_swap()
mm: mincore: improve mincore_hugetlb()
mm: mincore: refactor mincore_page()
mm/mincore.c | 66 ++++++++++++++++++---------------------------------- 1 file changed, 22 insertions(+), 44 deletions(-)
Signature · 1 line
2.55.0