]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Stop deallocating partial successes.
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Mon, 10 Dec 2018 16:56:15 +0000 (11:56 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Mon, 10 Dec 2018 16:56:15 +0000 (11:56 -0500)
commit085fcd5494a90a2fac01327ad3cb182abc50b0de
tree947ca9e7726d63cfd7b3295657c19a5b9165d1b1
parentcad501bf127b8f16bcd441cdf86bf78af5d34831
maple_tree: Stop deallocating partial successes.

Start tracking the number of nodes requested separately from the number
of nodes allocated and only allocate the number of nodes needed on
requests - including the failure path.

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