mm/huge_memory: cleanup __split_unmapped_folio()
Status from this message: [merged mm-stable] mm-huge_memory-optimize-old_order-derivation-during-folio-splitting.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 19 repliesApplied 4/4
- v22 patches 23 repliesSuperseded
- v15 patches 6 repliesSuperseded
Changes in v3 from the cover letter
* only merge 4&5 in v1
* refine the comment
Patches in v3 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | mm/huge_memory: avoid reinvoking folio_test_anon()mm/ | +4 | 1 reply | Applied |
| 2/4 | mm/huge_memory: update folio stat after successful splitmm/ | +11 | 5 replies | Applied |
| 3/4 | mm/huge_memory: optimize and simplify folio stat update after splitmm/ | +4 | 4 replies | Applied |
| 4/4 | mm/huge_memory: optimize old_order derivation during folio splittingmm/ | +8 | 9 replies | Applied |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Zi Yan | wang lian | Barry Song | David Hildenbrand | Lorenzo Stoakes |
|---|---|---|---|---|---|
| 1/4 | R-b | R-b | R-b | A-b | R-b |
| 2/4 | R-b | A-b | R-b | ||
| 3/4 | R-b | A-b | R-b | ||
| 4/4 | R-b | A-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 5 reviewers.
Cover letter [Patch v3 0/4] mm/huge_memory: cleanup __split_unmapped_folio()
This short patch series cleans up and optimizes the internal logic of the __split_unmapped_folio() function.
The goal is to improve clarity and efficiency by eliminating redundant checks, caching stable attribute values, and simplifying the iteration logic used for updating folio statistics.
These changes make the code easier to follow and maintain.
The split_huge_page_test selftest pass.
v3:
* only merge 4&5 in v1
* refine the comment
v2:
* merge patch 2-5
* http://lkml.kernel.org/r/[email protected]
v1:
* http://lkml.kernel.org/r/[email protected]
Wei Yang (4):
mm/huge_memory: avoid reinvoking folio_test_anon() mm/huge_memory: update folio stat after successful split mm/huge_memory: optimize and simplify folio stat update after split mm/huge_memory: optimize old_order derivation during folio splitting
mm/huge_memory.c | 70 +++++++++++++++--------------------------------- 1 file changed, 21 insertions(+), 49 deletions(-)
Signature · 1 line
2.34.1