]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: Change find_vma_intersection to maple tree and make find_vma to
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Mon, 28 Sep 2020 19:50:19 +0000 (15:50 -0400)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Mon, 18 Jan 2021 15:53:05 +0000 (10:53 -0500)
commit0b8de26f25405bd3af30ad69437f863c559664e1
treeae55f8b02557a8ef454df6c5f01358d441b32912
parent2104c73334b0eac01735ac9634636170cdbc9766
mm: Change find_vma_intersection to maple tree and make find_vma to
inline.

Move find_vma_intersection() to mmap.c and change implementation to
maple tree.

When searching for a vma within a range, it is easier to use the maple
tree interface.  This means the find_vma() call changes to a special
case of the find_vma_intersection().  Exported for kvm module.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
include/linux/mm.h
mm/mmap.c