linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [Patch v3 0/2] mm/huge_memory: cleanup for pmd folio installation
@ 2025-10-08  9:54 Wei Yang
  2025-10-08  9:54 ` [Patch v3 1/2] mm/huge_memory: add pmd folio to ds_queue in do_huge_zero_wp_pmd() Wei Yang
  2025-10-08  9:54 ` [Patch v3 2/2] mm/khugepaged: unify pmd folio installation with map_anon_folio_pmd() Wei Yang
  0 siblings, 2 replies; 6+ messages in thread
From: Wei Yang @ 2025-10-08  9:54 UTC (permalink / raw)
  To: akpm, david, lorenzo.stoakes, ziy, baolin.wang, Liam.Howlett,
	npache, ryan.roberts, dev.jain, baohua, lance.yang,
	wangkefeng.wang
  Cc: linux-mm, usamaarif642, willy, Wei Yang

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/20251002013825.20448-1-richard.weiyang@gmail.com
[2]: https://lkml.kernel.org/r/20251007005022.24413-1-richard.weiyang@gmail.com

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(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-10-09  1:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-08  9:54 [Patch v3 0/2] mm/huge_memory: cleanup for pmd folio installation Wei Yang
2025-10-08  9:54 ` [Patch v3 1/2] mm/huge_memory: add pmd folio to ds_queue in do_huge_zero_wp_pmd() Wei Yang
2025-10-08  9:54 ` [Patch v3 2/2] mm/khugepaged: unify pmd folio installation with map_anon_folio_pmd() Wei Yang
2025-10-08 14:24   ` Dev Jain
2025-10-08 14:45   ` David Hildenbrand
2025-10-09  1:46     ` Wei Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox