From: Huang Ying <ying.huang@intel.com>
To: linux-mm@kvack.org
Cc: Matthew Wilcox <willy@infradead.org>,
linux-kernel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
Huang Ying <ying.huang@intel.com>, Zi Yan <ziy@nvidia.com>,
Yang Shi <shy828301@gmail.com>,
Baolin Wang <baolin.wang@linux.alibaba.com>,
Oscar Salvador <osalvador@suse.de>
Subject: [RFC 0/2] migrate: convert migrate_pages()/unmap_and_move() to use folios
Date: Tue, 1 Nov 2022 14:21:35 +0800 [thread overview]
Message-ID: <20221101062137.83649-1-ying.huang@intel.com> (raw)
The conversion is quite straightforward, just replace the page API to
the corresponding folio API. migrate_pages() and unmap_and_move()
mostly work with folios (head pages) only.
One question is about THP. Which is converted to large folio in the
patchset. This is generally OK, because the code can work with
arbitrary order large folio at most times. But some THP related
statistics (such as THP_MIGRATION_SUCCESS, etc.) are converted for
large folio with arbitrary order too. Do we really care about the
order of large folio? Do we need to be backward compatible strictly?
Best Regards,
Huang, Ying
next reply other threads:[~2022-11-01 6:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-01 6:21 Huang Ying [this message]
2022-11-01 6:21 ` [RFC 1/2] migrate: convert unmap_and_move() " Huang Ying
2022-11-01 14:54 ` Zi Yan
2022-11-02 2:11 ` Huang, Ying
2022-11-01 6:21 ` [RFC 2/2] migrate: convert migrate_pages() " Huang Ying
2022-11-01 13:02 ` Matthew Wilcox
2022-11-02 2:10 ` Huang, Ying
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=20221101062137.83649-1-ying.huang@intel.com \
--to=ying.huang@intel.com \
--cc=akpm@linux-foundation.org \
--cc=baolin.wang@linux.alibaba.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=osalvador@suse.de \
--cc=shy828301@gmail.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