Re: [PATCH 5/5] mm/swap: simplify the code of find_get_incore_page()

From: Andrew Morton
Date: Tue May 18 2021 - 17:13:07 EST


On Tue, 18 May 2021 15:33:54 +0100 Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:

> On Tue, May 18, 2021 at 09:53:52PM +0800, Miaohe Lin wrote:
> > pagecache_get_page() can do find_subpage() for us if we do not specify
> > FGP_HEAD. No functional change intended.
>
> Please, no. This interferes with the folio work.

In what way? Can't the folio patches simply revert this or suitably
alter it?