]> 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, 26 Nov 2021 19:50:27 +0000 (14:50 -0500)
commita3dac5d7f7be9fb4a5e0326b632a26955a608e28
treefd1663eb4679a44db64bfdc384e149836b422f1c
parentc639a3dd1986e28c7876abc25625bbfe1f665435
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>
include/linux/mm.h
include/linux/mm_types.h
mm/mmap.c