]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: Convert vma_lookup() to use mtree_load()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 29 Oct 2021 01:53:09 +0000 (21:53 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 8 Mar 2022 18:19:11 +0000 (13:19 -0500)
commitcc76efabca00e1997b5b53880ff3e6cc72dfe985
tree7f2c6e560110aea3fbe6879b279db5812e4d439e
parentada65182b2396ee26bbb372a8f93c4a0f351b6db
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.

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