]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: Move find_vma_intersection to mmap.c and change implementation 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, 14 Jan 2021 01:33:55 +0000 (20:33 -0500)
commit0279f2f5c7e34adbaec2b1d140fb9af78d05fe8f
treef4774e3e0dad94c4fcbddc91feb863025f5d4d97
parenta8a92a48d09f412c402d75186b24e9a2cdb30bfc
mm: 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