[PATCH 04/13] mm/migrate: convert VMA flag tests to use vma_flags_t

Baolin Wang baolin.wang at linux.alibaba.com
Fri Nov 6 03:05:36 UTC 2026



On 11/6/26 5:30 AM, Lorenzo Stoakes (ARM) 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 at kernel.org>
> ---

LGTM.
Reviewed-by: Baolin Wang <baolin.wang at linux.alibaba.com>



More information about the Linux-security-module-archive mailing list