Re: [PATCH v3 11/23] mm/vma: introduce [vma_flags,legacy]_to_[legacy,vma_flags]() helpers

Vlastimil Babka (SUSE)
2026-03-19T17:39:00Z

On 3/18/26 16:50, Lorenzo Stoakes (Oracle) wrote:
> While we are still converting VMA flags from vma_flags_t to vm_flags_t,
> introduce helpers to convert between the two to allow for iterative
> development without having to 'change the world' in a single commit'.
>
> Also update VMA flags tests to reflect the change.
>
> Finally, refresh vma_flags_overwrite_word(),
> vma_flag_overwrite_word_once(), vma_flags_set_word() and
> vma_flags_clear_word() in the VMA tests to reflect current kernel
> implementations - this should make no functional difference, but keeps the
> logic consistent between the two.
>
> Signed-off-by: Lorenzo Stoakes (Oracle) <ljs@kernel.org>

Acked-by: Vlastimil Babka (SUSE) <vbabka@kernel.org>