]> 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>
Wed, 15 Dec 2021 18:38:44 +0000 (13:38 -0500)
commit4ff766bdc0c13f810e2e81b7cecb5755b402a002
tree02de28e6ea12118d555b5d6f9658a9de0db54b47
parentdf30518b7aa1f409859bedcd1b2895384d53ebb2
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