]> 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>
Thu, 14 Apr 2022 06:07:16 +0000 (23:07 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 11 May 2022 13:09:54 +0000 (09:09 -0400)
commitcfe8361234b87a7879fb79ec85dcc674b370f579
tree67627b1107e8224bd466358c8f3f9668275f940e
parent155ae6ce3cd261c9cb54aa0eb508f595e86e8074
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
mm/nommu.c