]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Add insert/append operation.
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Mon, 7 Jan 2019 17:46:05 +0000 (12:46 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Wed, 31 Jul 2019 14:52:34 +0000 (10:52 -0400)
commitafe2af4ec69dddc94c21205a267b41fdd79f10f2
treec21ef9fbb0da07dcf7b96dd4f8363ccc5f02cbcd
parent93165e44a1393de1f96bd3c8d762ead67bd97087
maple_tree: Add insert/append operation.

Check for NULL runs by looking for duplicate pivots and coalesce them
into a single entry.  Append and insert into a new node, then replace
the old node and adopt the children.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
lib/maple_tree.c
lib/test_maple_tree.c