]> 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>
Wed, 11 May 2022 13:09:54 +0000 (09:09 -0400)
commita5fcd2d27b200772755e9839a23ebd5ffbf3f7da
treeb1905358a06e05ee08df0fef6b75492ac1ce6540
parent874fb27fc64835fc1600b2bc3d003c6321e5f265
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