]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mmap: use the maple tree in find_vma() instead of the rbtree.
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 14 Apr 2022 06:07:13 +0000 (23:07 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 26 Apr 2022 14:36:31 +0000 (10:36 -0400)
commit0986adbe43549c65bf3886c88cf1c2b3c3403d88
tree23763c3e9f1d03bfdeb5de2069f8909f48b3fcf2
parent1bcb9599f9f73a1dc58ab89b5829fecc1fcc91f6
mm/mmap: use the maple tree in find_vma() instead of the rbtree.

Using the maple tree interface mt_find() will handle the RCU locking and
will start searching at the address up to the limit, ULONG_MAX in this
case.

Add kernel documentation to this API.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
mm/mmap.c