]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: add VMA iterator
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 14 Apr 2022 06:07:13 +0000 (23:07 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 26 Apr 2022 14:36:31 +0000 (10:36 -0400)
commitca849d9ef0b7ce7233d19574add789171bb18db8
tree96ac892069a76b423765c8f5f6b2d1c388bc95f2
parentbd6a1fd58daf0a1910264b8619b7400d44af1f13
mm: add VMA iterator

This thin layer of abstraction over the maple tree state is for iterating
over VMAs.  You can go forwards, go backwards or ask where the iterator
is.  Rename the existing vma_next() to __vma_next() -- it will be removed
by the end of this series.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
include/linux/mm.h
include/linux/mm_types.h
mm/mmap.c