]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: convert vma_lookup() to use mtree_load()
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 14 Apr 2022 06:07:16 +0000 (23:07 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 26 Apr 2022 14:36:35 +0000 (10:36 -0400)
commit47dc2bedc155c8cbdcd6fea93a9cf78304070aaa
treeebe9142d834d365a2d7293416b5b6acc615b3c96
parentce1fff781b361a5221e535ddd97fb52bab096f2b
mm: convert vma_lookup() to use mtree_load()

Unlike the rbtree, the Maple Tree will return a NULL if there's nothing at
a particular address.

Since the previous commit dropped the vmacache, it is now possible to
consult the tree directly.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
include/linux/mm.h