# Re: \[PATCH 04/13\] mm/migrate: convert VMA flag tests to use vma\_flags\_t

- From: Barry Song \<baohua@kernel.org\>
- Date: 2026-11-06 04:10:13 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2026/11/17875500
- Thread: https://ratatoskr.run/linux-mm/2026/11/17874173/t.md

```text
On Fri, Nov 6, 2026 at 5:32 AM Lorenzo Stoakes (ARM) [ref] wrote:
>
> Replace use of the legacy vm_flags_t flags with vma_flags_t values in the
> migration logic.
>
> We retain the READ_ONCE() of vma->vm_flags in remove_migration_pte(), as
> there is no vma_flags_t equivalent, and arch_make_huge_pte() continues to
> take legacy flags for the time being.
>
> No functional change intended.
>
> Signed-off-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>
> ---

LGTM,

Reviewed-by: Barry Song <baohua@kernel.org>

```
