Re: [PATCH v2 08/13] mm: introduce vma_get_page_prot() and use it
From: Vlastimil Babka (SUSE)
Date: Wed Jul 22 2026 - 11:45:11 EST
On 7/11/26 20:45, Lorenzo Stoakes wrote:
> There's a large number of vm_get_page_prot(vma->vm_flags) invocations. Make
> life easier by introducing vma_get_page_prot() parameterised by the VMA.
>
> This also makes converting vm_get_page_prot() to vma_flags_t easier.
>
> Also update the userland VMA tests to reflect the change.
>
> No functional change intended.
>
> Acked-by: Zi Yan <ziy@xxxxxxxxxx>
> Acked-by: Jani Nikula <jani.nikula@xxxxxxxxx> # for i915
> Reviewed-by: Thomas Zimmermann <tzimmermann@xxxxxxx> # for DRM
> Signed-off-by: Lorenzo Stoakes <ljs@xxxxxxxxxx>
Reviewed-by: Vlastimil Babka (SUSE) <vbabka@xxxxxxxxxx>