]> 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>
Mon, 14 Mar 2022 18:49:45 +0000 (14:49 -0400)
commit83692ca877d1120b39f6512e0868d386a8d7d54c
treeb126a3c0de0c3acfedfd9bd6a368c8c1ee9a9ad6
parent04cf71f340f68af7804e9dd1af56f7dc36fa554e
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