Re: [PATCH v2 03/23] mm/vma: add further vma_flags_t unions

Vlastimil Babka (SUSE)
2026-03-18T14:42:41Z

On 3/16/26 14:07, Lorenzo Stoakes (Oracle) wrote:
> In order to utilise the new vma_flags_t type, we currently place it in
> union with legacy vm_flags fields of type vm_flags_t to make the transition
> smoother.
>
> Add vma_flags_t union entries for mm->def_flags and vmg->vm_flags -
> mm->def_vma_flags and vmg->vma_flags respectively.
>
> Once the conversion is complete, these will be replaced with vma_flags_t
> entries alone.
>
> Also update the VMA tests to reflect the change.
>
> Signed-off-by: Lorenzo Stoakes (Oracle) <ljs@kernel.org>

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