Re: [PATCH 1/1] iomap: avoid compaction for costly folio order allocation

From: Christoph Hellwig

Date: Tue Jul 07 2026 - 02:23:04 EST


On Thu, Jun 25, 2026 at 05:11:58AM -0700, Christoph Hellwig wrote:
> On Thu, Jun 25, 2026 at 09:10:37AM +0000, Salvatore Dipietro wrote:
> > Yes — all the patches in the result table are shared within this thread:
> >
> > v1 (original, iomap caller): The original PATCH 1/1 in this series
> > Ritesh's suggestion (mm/filemap.c): Shared in Ritesh's reply on May 3rd [1]
> > Matthew's suggestion (mm/filemap.c): Shared in Matthew's reply on April 4th [2]
> > kcompactd background (mm/page_alloc.c): Shared in my reply on May 6th [3]
>
> The page_alloc.c change definitively seems like the right thing to do from
> the high-level POV. It would also be nice to find a way to centralize
> the logic for which flags to set in a central place as we have quite a
> few other places that want to allocate large folios optimistically.

Can you submit a formal patch for this? I.e. proper commit log,
fixes tag, separate thread, etc.