[PATCH v3 19/23] mm/vma: introduce vma_clear_flags[_mask]()

Vlastimil Babka (SUSE) vbabka at kernel.org
Fri Mar 20 21:04:38 AEDT 2026


On 3/18/26 16:50, Lorenzo Stoakes (Oracle) wrote:
> Introduce a helper function and helper macro to easily clear a VMA's flags
> using the new vma_flags_t vma->flags field:
> 
> * vma_clear_flags_mask() - Clears all of the flags in a specified mask in
> 			   the VMA's flags field.
> * vma_clear_flags() - Clears all of the specified individual VMA flag bits
> 		      in a VMA's flags field.
> 
> Also update the VMA 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