From: Lance Yang <lance.yang@linux.dev>
To: Wei Yang <richard.weiyang@gmail.com>
Cc: npache@redhat.com, linux-mm@kvack.org, ziy@nvidia.com,
lorenzo.stoakes@oracle.com, dev.jain@arm.com, baohua@kernel.org,
ryan.roberts@arm.com, Liam.Howlett@oracle.com,
akpm@linux-foundation.org, baolin.wang@linux.alibaba.com,
david@redhat.com
Subject: Re: [PATCH] mm/huge_memory: only get folio_order() once during __folio_split()
Date: Sat, 11 Oct 2025 12:57:18 +0800 [thread overview]
Message-ID: <42c4bd7a-a9f0-47cf-bd1b-ffb6832ac7b7@linux.dev> (raw)
In-Reply-To: <20251010141142.1349-1-richard.weiyang@gmail.com>
On 2025/10/10 22:11, Wei Yang wrote:
> Before splitting folio, its order keeps the same.
>
> It is only necessary to get folio_order() once.
>
> Also rename order to old_order to represent the original folio order.
Nice cleanup! I was thinking of doing the same thing :)
Getting the order once at the beginning makes sense to me.
Acked-by: Lance Yang <lance.yang@linux.dev>
next prev parent reply other threads:[~2025-10-11 4:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-10 14:11 Wei Yang
2025-10-11 4:57 ` Lance Yang [this message]
2025-10-13 12:57 ` David Hildenbrand
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=42c4bd7a-a9f0-47cf-bd1b-ffb6832ac7b7@linux.dev \
--to=lance.yang@linux.dev \
--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=linux-mm@kvack.org \
--cc=lorenzo.stoakes@oracle.com \
--cc=npache@redhat.com \
--cc=richard.weiyang@gmail.com \
--cc=ryan.roberts@arm.com \
--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