]> 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)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 29 Oct 2021 13:04:27 +0000 (09:04 -0400)
commita27abba857266c28cf5e3413b09886cbd3ba3882
tree7c87f69c027445ff4d15e4af2d1ecd2850822390
parent2c44a6f7f075303e157461fbb7be2c12a39cfa11
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