]> 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>
Fri, 24 Jul 2020 15:38:39 +0000 (11:38 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 14 Mar 2022 18:49:44 +0000 (14:49 -0400)
commit8c00ab3e79186b5f3361ddcecdc5c4af54a71cd6
tree0e380012f3ea9d4519a44081a2127e9e71e3028f
parent8a56a9754a7ce95811e0e595ac2ecdf46ec8f453
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