Re: [PATCH 1/1] iomap: avoid compaction for costly folio order allocation
From: Christoph Hellwig
Date: Thu Jun 25 2026 - 08:15:48 EST
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.