From: Wei Yang <richard.weiyang@gmail.com>
To: akpm@linux-foundation.org, david@redhat.com,
lorenzo.stoakes@oracle.com, ziy@nvidia.com,
baolin.wang@linux.alibaba.com, Liam.Howlett@oracle.com,
npache@redhat.com, ryan.roberts@arm.com, dev.jain@arm.com,
baohua@kernel.org, lance.yang@linux.dev,
wangkefeng.wang@huawei.com
Cc: linux-mm@kvack.org, usamaarif642@gmail.com, willy@infradead.org,
Wei Yang <richard.weiyang@gmail.com>
Subject: [Patch v3 0/2] mm/huge_memory: cleanup for pmd folio installation
Date: Wed, 8 Oct 2025 09:54:51 +0000 [thread overview]
Message-ID: <20251008095453.18772-1-richard.weiyang@gmail.com> (raw)
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
next reply other threads:[~2025-10-08 9:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-08 9:54 Wei Yang [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251008095453.18772-1-richard.weiyang@gmail.com \
--to=richard.weiyang@gmail.com \
--cc=Liam.Howlett@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=baohua@kernel.org \
--cc=baolin.wang@linux.alibaba.com \
--cc=david@redhat.com \
--cc=dev.jain@arm.com \
--cc=lance.yang@linux.dev \
--cc=linux-mm@kvack.org \
--cc=lorenzo.stoakes@oracle.com \
--cc=npache@redhat.com \
--cc=ryan.roberts@arm.com \
--cc=usamaarif642@gmail.com \
--cc=wangkefeng.wang@huawei.com \
--cc=willy@infradead.org \
--cc=ziy@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox