mm/khugepaged: optimize collapse candidate detection
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 17 repliesIn review
- v13 patches 21 repliesSuperseded
Changes in v2 from the cover letter
- #01 Dropped patch that skipped mlocked VMAs from THP collapse, per discussion. Thanks a lot to Hugh, Kiryl, Lorenzo, Dev and Mika!
- #02 Pick RB from Lorenzo - thanks!
Update the changelog (per Lorenzo)
Pick AB from David - thanks!
- #03 Reuse SCAN_PTE_NON_PRESENT for guard PTEs (per Lorenzo)
- https://lore.kernel.org/linux-mm/[email protected]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm: make is_guard_pte_marker() available for hugepage collapseinclude/ mm/ | +6 | 2 replies | |
| 2/2 | mm/khugepaged: abort collapse scan on guard PTEsmm/ | +10 | 15 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | David Hildenbrand | Lorenzo Stoakes | Dev Jain | Wei Yang |
|---|---|---|---|---|
| 1/2 | A-b | R-b | R-b | |
| 2/2 | R-b | 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 4 reviewers.
Cover letter [PATCH mm-new v2 0/2] mm/khugepaged: optimize collapse candidate detection
Hi all,
This series improves the THP scanner by teaching it to detect unsuitable collapse candidates, such as guard PTEs, earlier in the scan to avoid wasted work.
Thanks,
Lance
---
v1 -> v2:
- #01 Dropped patch that skipped mlocked VMAs from THP collapse, per discussion. Thanks a lot to Hugh, Kiryl, Lorenzo, Dev and Mika!
- #02 Pick RB from Lorenzo - thanks!
Update the changelog (per Lorenzo)
Pick AB from David - thanks!
- #03 Reuse SCAN_PTE_NON_PRESENT for guard PTEs (per Lorenzo)
- https://lore.kernel.org/linux-mm/[email protected]
Lance Yang (2):
mm: make is_guard_pte_marker() available for hugepage collapse mm/khugepaged: abort collapse scan on guard PTEs
include/linux/swapops.h | 6 ++++++ mm/khugepaged.c | 10 ++++++++++ mm/madvise.c | 6 ------ 3 files changed, 16 insertions(+), 6 deletions(-)
Signature · 1 line
2.49.0