]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: Use maple tree operations for find_vma_intersection()
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>
Tue, 8 Mar 2022 18:19:10 +0000 (13:19 -0500)
commit1e9d0196798e530d2639012724627581ec15f81f
tree6ffc1a3103b6f623e91e9503c5af101c29cbb63a
parentd826b11cb8fd6bb13c01f68ea23dc97a022ed5a9
mm: Use maple tree operations for find_vma_intersection()

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.

Exported find_vma_intersection() for kvm module.

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