Re: [PATCH v3 1/2] mm: vmscan: convert folio_referenced() to use vma_flags_t

From: Johannes Weiner

Date: Fri Jul 17 2026 - 08:35:05 EST


On Fri, Jul 17, 2026 at 06:05:33PM +0800, Baolin Wang wrote:
> Replace use of the legacy vm_flags_t flags with vma_flags_t values for
> folio_referenced() and related logic. This is also a preparation for the
> following changes.
>
> No functional changes.
>
> Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx>
> Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>

Had to double take on the ors and ands and nots conversions, but looks
correct to me.

Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>