]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mmap: use maple tree for unmapped_area{_topdown}
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 14 Apr 2022 06:07:14 +0000 (23:07 -0700)
committerakpm <akpm@linux-foundation.org>
Thu, 14 Apr 2022 06:07:14 +0000 (23:07 -0700)
commit0e338da0df9e26044618c03f3cd789425622ee1e
tree477bfc909f5bfe85035d130e94c4e57d70306cbd
parent0cd557ddabb0340dc1df4ef3c2c0207da6e8972b
mm/mmap: use maple tree for unmapped_area{_topdown}

The maple tree code was added to find the unmapped area in a previous
commit and was checked against what the rbtree returned, but the actual
result was never used.  Start using the maple tree implementation and
remove the rbtree code.

Add kernel documentation comment for these functions.

Link: https://lkml.kernel.org/r/20220404143501.2016403-16-Liam.Howlett@oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mmap.c