]> 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>
Fri, 11 Feb 2022 03:38:05 +0000 (22:38 -0500)
commit26dd64d42ac7d2828b807d09af3445a0660fe270
treec741f6de9f9be726cc51633bfc2ac74fd173a855
parent19bcf4a7603f825896e299c374773de20f03cd1d
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