]> 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>
Thu, 16 Dec 2021 03:00:59 +0000 (22:00 -0500)
commita02142014c220b914c1f0681a51f6874085ddcfe
tree3d933392bf5b5249e2c828b3287727795747fce6
parenta45a86eb0bd7981af0354c09cc3cff917089fe8d
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