]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: Add VMA iterator
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 22 Oct 2021 14:52:21 +0000 (10:52 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Fri, 11 Feb 2022 03:38:05 +0000 (22:38 -0500)
commit3093616a72f79aa17bfd3a48144d45257af18090
tree14d590592972f418a1be39d9c8619bcfaeeb3ea4
parente63a86446fdc6a35ae25d859d9249d3224cc11ec
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