Re: [RFC 06/23] mm: call xas_set_order() in replace_page_cache_folio()

From: Luis Chamberlain
Date: Mon Sep 18 2023 - 14:27:52 EST


On Fri, Sep 15, 2023 at 08:46:10PM +0100, Matthew Wilcox wrote:
> On Fri, Sep 15, 2023 at 08:38:31PM +0200, Pankaj Raghav wrote:
> > From: Luis Chamberlain <mcgrof@xxxxxxxxxx>
> >
> > Call xas_set_order() in replace_page_cache_folio() for non hugetlb
> > pages.
>
> This function definitely should work without this patch. What goes wrong?

As with batch delete I was just trying to take care to be explicit about
setting the order for a) ddition and b) removal. Will drop as well after
confirming, thanks!

Luis