]> 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>
Fri, 11 Feb 2022 03:38:07 +0000 (22:38 -0500)
commitab57205f02a7e7f57b68e0af91ff17c8f4bad3af
tree1b8e0a251d7fe1f3b5d25cd2df20082222f2fa15
parentcaac4a5b4914d0c36bebe1505715eadd47420935
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