Re: [RFC PATCH 08/12] mm/compaction: simplify isolation order checks a bit
From: Rik van Riel
Date: Wed Sep 17 2025 - 11:05:56 EST
On Mon, 2025-09-15 at 19:51 +0000, Frank van der Linden wrote:
> The code to isolate pages for migration always checked both
> cc->alloc_contig and skip_isolation_on_order to determine
> whether a page could be isolated for migration.
>
> Simplify this a little bit by moving the cc->alloc_contig
> check in to skip_isolation_on_order. Also rename alloc_contig
> to migrate_large, since there will be an additional user
> (CMA balancing) of this field soon, not just alloc_contig_range.
>
> No functional change.
>
> Signed-off-by: Frank van der Linden <fvdl@xxxxxxxxxx>
>
Acked-by: Rik van Riel <riel@xxxxxxxxxxx>
--
All Rights Reversed.