Re: [PATCH v7 1/3] mm: preserve PG_dropbehind flag during folio split
From: David Hildenbrand (Arm)
Date: Mon May 11 2026 - 08:44:39 EST
On 5/11/26 13:58, Jeff Layton wrote:
> __split_folio_to_order() copies page flags from the original folio to
> newly created sub-folios using an explicit allowlist, but PG_dropbehind
> is not included. When a large folio with PG_dropbehind set is split,
> only the head sub-folio retains the flag; all tail sub-folios silently
> lose it and will not be reclaimed eagerly after writeback completes.
>
> Add PG_dropbehind to the flag copy mask so that the drop-behind hint
> is preserved across folio splits.
>
> Fixes: a323281cdfec ("mm: add PG_dropbehind folio flag")
> Assisted-by: Claude:claude-opus-4-6
> Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
> ---
Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
--
Cheers,
David