]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Optimise mas_wr_store_entry() and mas_prealloc_calc()
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 29 Nov 2024 16:28:33 +0000 (11:28 -0500)
committerLiam R. Howlett <howlett@gmail.com>
Mon, 27 Jan 2025 20:40:16 +0000 (15:40 -0500)
commit88562e3b538db9a41b078aff9021ee70d3b67903
tree63f6239d8f58087ec06ddfaf50518db5cc4e6ccb
parent0a01a6dc824c4fab1be78296c5e4af70ecc5806e
maple_tree: Optimise mas_wr_store_entry() and mas_prealloc_calc()

Rearrange the switch statements so that the more likely code paths are
checked first.

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