]> 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>
Tue, 8 Mar 2022 18:19:10 +0000 (13:19 -0500)
commitf5896161e8b9f01056d0256f7db970ff54b6e45e
tree8aa56e23059877eb3b29fb9acde0806ab0f9e1f1
parent7e965a8d6363b83977f3c10dd3fbb7a46f38e18c
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