Re: [PATCH v3 07/23] mm/vma: add append_vma_flags() helper

"Vlastimil Babka (SUSE)" <[email protected]>
Newsgroups gmane.linux.ports.riscv,gmane.linux.kernel.mm,gmane.linux.kernel,gmane.linux.kernel.arc,gmane.linux.ports.arm.kernel,gmane.linux.ports.hexagon,gmane.linux.ports.mips,gmane.linux.ports.ppc64.devel,gmane.linux.uml.devel,gmane.linux.file-systems
Message-ID <[email protected]>
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) <[email protected]>

Acked-by: Vlastimil Babka (SUSE) <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.