]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Add single node allocation support to maple state
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 6 Dec 2024 20:08:19 +0000 (15:08 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 17 Jan 2025 20:15:33 +0000 (15:15 -0500)
commit2919e80b4092179d8e85046c5f7a561acb803029
treea0ae2749c5de2c6ae0fcce3e98ca978bd86fe9bb
parentc6aaf3d12641351e08540282d7b02a40443b1a44
maple_tree: Add single node allocation support to maple state

The fast path through a write will require replacing a single node in
the tree.  Using a sheaf (32 nodes) is too heavy for the fast path, so
special case the node store operation by just allocating one node in the
maple state.

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