]> www.infradead.org Git - users/willy/linux.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)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 20 Oct 2021 20:00:13 +0000 (16:00 -0400)
commit1e23f5039400750d1573fb0dba5b2b61f1ee5ea8
tree16ac6fde4265389740c050bc8e54d5030f721d3c
parentd5167f411356cec5e10f5b32f864e0b719075960
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>
mm/mmap.c