]> 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>
Tue, 26 Apr 2022 14:36:35 +0000 (10:36 -0400)
commitc172871f20a78120326ac4b5cadd8a1ea54822bd
treec2b40c24cd55db190c303ad48933722677529fe9
parentce3fea24bd05dcf21d47ee09a971686fd40b73c6
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