]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Rework allocating new nodes to use the slots in ms->alloc
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 6 Dec 2018 21:27:36 +0000 (16:27 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 6 Dec 2018 21:27:36 +0000 (16:27 -0500)
commit69d9334cba6669a3fd8653d715416c0bd3139dc0
treedfad396aa1e8464c6c069f22bc9d27b88d4ba495
parentafb00f607ff91128f90b45a644ec0c84a2aa1f02
maple_tree: Rework allocating new nodes to use the slots in ms->alloc

Allocate node 0 to ms->alloc, encode 1, and nodes 1-2 into slot 0-1.

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