[PATCH v3 07/23] mm/vma: add append_vma_flags() helper
Vlastimil Babka (SUSE)
vbabka at kernel.org
Fri Mar 20 04:20:23 AEDT 2026
On 3/18/26 16:50, Lorenzo Stoakes (Oracle) wrote:
> In order to be able to efficiently combine VMA flag masks with additional
> VMA flag bits we need to extend the concept introduced in mk_vma_flags()
> and __mk_vma_flags() by allowing the specification of a VMA flag mask to
> append VMA flag bits to.
>
> Update __mk_vma_flags() to allow for this and update mk_vma_flags()
> accordingly, and also provide append_vma_flags() to allow for the caller
> to specify which VMA flags mask to append to.
>
> Finally, update the VMA flags tests to reflect the change.
>
> Signed-off-by: Lorenzo Stoakes (Oracle) <ljs at kernel.org>
Acked-by: Vlastimil Babka (SUSE) <vbabka at kernel.org>
More information about the Linuxppc-dev
mailing list