]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: convert vma_lookup() to use mtree_load()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 14 Apr 2022 06:07:16 +0000 (23:07 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 14 Apr 2022 21:49:46 +0000 (17:49 -0400)
commitd195fe850d31dbd9df1efe558a05213685fae19b
tree8ed6862f0fa971451d4f31e7dd695a497bf0f4c6
parent39649425f9ef14aefd7f05789a9ce0db0f018e3d
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.

Link: https://lkml.kernel.org/r/20220404143501.2016403-29-Liam.Howlett@oracle.com
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mm.h