Skip to content

mm/huge_memory: cleanup for pmd folio installation

Wei Yang linux-mm stable 3 versions – Applied

Status from this message: [merged mm-stable] mm-khugepaged-unify-pmd-folio-installation-with-map_anon_folio_pmd.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesApplied 2/2
  2. v21 patch 17 repliesSuperseded
  3. v11 patch 3 repliesSuperseded

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mm/huge_memory: add pmd folio to ds_queue in do_huge_zero_wp_pmd()mm/huge_memory.c+1 -10 repliesApplied
2/2mm/khugepaged: unify pmd folio installation with map_anon_folio_pmd()include/linux/huge_mm.h mm/huge_memory.c mm/khugepaged.c+18 -123 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDavid HildenbrandLance YangDev JainUsama ArifZi Yan
1/2A-b R-b R-b A-b R-b
2/2A-b A-b 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 5 reviewers.

Read the v3 thread

Cover letter [Patch v3 0/2] mm/huge_memory: cleanup for pmd folio installation

This is mostly a resend of previous two separate patches [1][2].

Since they both modify the same file, there would be some conflict if just apply one of it. To make reviewing smoothly, they are resend together as suggested by Zi Yan.

Patch [1] add pmd folio to ds_queue during do_huge_zero_wp_pmd() which is missed Patch [2] unify pmd folio installation in collapse_huge_page() like other places

No code change after previous version, so I preserve the RB and Acked-by.

They are rebased on current akpm/mm-new branch with base commit:

    1de81dd7733c 2025-10-07 mm/page_alloc: batch page freeing in free_frozen_page_commit

[1]: https://lkml.kernel.org/r/[email protected]
[2]: https://lkml.kernel.org/r/[email protected]

Wei Yang (2):
mm/huge_memory: add pmd folio to ds_queue in do_huge_zero_wp_pmd() mm/khugepaged: unify pmd folio installation with map_anon_folio_pmd()

 include/linux/huge_mm.h |  7 +++++++
 mm/huge_memory.c        | 14 ++++++++++----
 mm/khugepaged.c         |  9 +--------
 3 files changed, 18 insertions(+), 12 deletions(-)
Signature · 1 line
2.34.1