]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Rework mas_walk() for optimization.
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 12 Oct 2021 13:34:44 +0000 (09:34 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 20 Oct 2021 19:23:10 +0000 (15:23 -0400)
commit23c41eee5f467db39e3934f34eb55dff306896e1
tree07ebd559439df929867e8b07aeb7e4e17a31b9c8
parent77ef8fd33b23fbfac278f1fac278f42b66b483bb
maple_tree: Rework mas_walk() for optimization.

Pass through the node when known and reduce the code overhead of the loops.
There cannot be a on non-leaf nodes thanks to the fix on the right-most
node max fix

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