mm: hugetlb+THP folio and migration cleanups
Status from this message: [merged mm-stable] mm-hugetlb-use-folio-lru-int-demote_free_hugetlb_folios.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 1 replyApplied 6/6
- v16 patches 14 repliesSuperseded
Changes in v2 from the cover letter
* "mm/hugetlb: rename isolate_hugetlb() to folio_isolate_hugetlb()"
* Use "-" vs. ":" in kerneldoc
* "mm/migrate: don't call folio_putback_active_hugetlb() on dst hugetlb folio"
* Also care about activelist and adjust patch description
* "mm/hugetlb-cgroup: convert hugetlb_cgroup_css_offline() to work on folios"
* Extend patch description
* "mm/hugetlb: use folio->lru int demote_free_hugetlb_folios()"
* Also use "new_folio->mapping = NULL", and calculate new_folio like __split_huge_page_tail(), adding also a comment.
* Adjust patch description
Patches in v2 All 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | mm/huge_memory: convert has_hwpoisoned into a pure folio flaginclude/ mm/ | +3 | 0 replies | Applied |
| 2/6 | mm/hugetlb: rename isolate_hugetlb() to folio_isolate_hugetlb()include/ mm/ mm/ +2 more | +27 | 0 replies | Applied |
| 3/6 | mm/migrate: don't call folio_putback_active_hugetlb() on dst hugetlb foliomm/ mm/ | +14 | 0 replies | Applied |
| 4/6 | mm/hugetlb: rename folio_putback_active_hugetlb() to folio_putback_hugetlb()include/ mm/ mm/ | +18 | 0 replies | Applied |
| 5/6 | mm/hugetlb-cgroup: convert hugetlb_cgroup_css_offline() to work on foliosmm/ | +8 | 0 replies | Applied |
| 6/6 | mm/hugetlb: use folio->lru int demote_free_hugetlb_folios()mm/ | +5 | 1 reply | Applied |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Matthew Wilcox (Oracle) | Baolin Wang | Sidhartha Kumar |
|---|---|---|---|
| 1/6 | R-b | ||
| 2/6 | R-b | R-b | |
| 3/6 | R-b | ||
| 4/6 | R-b | ||
| 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 v2 0/6] mm: hugetlb+THP folio and migration cleanups
Some cleanups around more folio conversion and migration handling that I collected working on random stuff.
Patch #2->#6 were previous sent as part of [1], but I think they make sense independent of that.
[1] https://lkml.kernel.org/r/[email protected]
v1 -> v2:
* "mm/hugetlb: rename isolate_hugetlb() to folio_isolate_hugetlb()"
* Use "-" vs. ":" in kerneldoc
* "mm/migrate: don't call folio_putback_active_hugetlb() on dst hugetlb folio"
* Also care about activelist and adjust patch description
* "mm/hugetlb-cgroup: convert hugetlb_cgroup_css_offline() to work on folios"
* Extend patch description
* "mm/hugetlb: use folio->lru int demote_free_hugetlb_folios()"
* Also use "new_folio->mapping = NULL", and calculate new_folio like __split_huge_page_tail(), adding also a comment.
* Adjust patch description
David Hildenbrand (6):
mm/huge_memory: convert has_hwpoisoned into a pure folio flag mm/hugetlb: rename isolate_hugetlb() to folio_isolate_hugetlb() mm/migrate: don't call folio_putback_active_hugetlb() on dst hugetlb
folio
mm/hugetlb: rename folio_putback_active_hugetlb() to
folio_putback_hugetlb()
mm/hugetlb-cgroup: convert hugetlb_cgroup_css_offline() to work on
folios
mm/hugetlb: use folio->lru int demote_free_hugetlb_folios()
include/linux/hugetlb.h | 8 +++--- include/linux/page-flags.h | 6 ++--- mm/gup.c | 2 +- mm/huge_memory.c | 2 +- mm/hugetlb.c | 54 +++++++++++++++++++++++++++++++++----- mm/hugetlb_cgroup.c | 17 ++++++------ mm/mempolicy.c | 2 +- mm/migrate.c | 20 +++++++------- 8 files changed, 74 insertions(+), 37 deletions(-)
base-commit: 0703fa3785f1b969a3a98fc9bb3e4ae5062684ea
Signature · 1 line
2.47.1