]> www.infradead.org Git - users/willy/linux.git/commit
mm/mmap: Use maple tree for unmapped_area{_topdown}
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 24 Jul 2020 16:01:47 +0000 (12:01 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 20 Oct 2021 20:00:13 +0000 (16:00 -0400)
commitc218a259ddb3f0bf53f4b3c92dc98d37ff5f62d3
tree6a95f5dce79a7ba6c0772274c332d38cee1fb265
parenta74d08cdc4d025094d2d424f1b497d7e3982ef88
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. Note, the advanced maple tree interface is used
so the rcu locking is needed to be handled here or at a higher level.

Add kernel documentation comment for these functions.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
mm/mmap.c