]> 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>
Thu, 28 Jan 2021 01:49:02 +0000 (20:49 -0500)
commit223dfad4c4b310fc256abd82021e3eea1bdd93b9
tree1d7c007446fb777f59ac6b28954ddf58568fdb9a
parent7be2424955cf1018c72450e0b04a4c21be92e67f
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