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

From: Vlastimil Babka (SUSE)

Date: Wed Mar 18 2026 - 10:46:28 EST


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@xxxxxxxxxx>

Acked-by: Vlastimil Babka (SUSE) <vbabka@xxxxxxxxxx>