[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221101062137.83649-1-ying.huang@intel.com>
Date: Tue, 1 Nov 2022 14:21:35 +0800
From: Huang Ying <ying.huang@...el.com>
To: linux-mm@...ck.org
Cc: Matthew Wilcox <willy@...radead.org>, linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Huang Ying <ying.huang@...el.com>, Zi Yan <ziy@...dia.com>,
Yang Shi <shy828301@...il.com>,
Baolin Wang <baolin.wang@...ux.alibaba.com>,
Oscar Salvador <osalvador@...e.de>
Subject: [RFC 0/2] migrate: convert migrate_pages()/unmap_and_move() to use folios
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
Powered by blists - more mailing lists