]> 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>
Tue, 4 Mar 2025 16:13:55 +0000 (11:13 -0500)
commitd5452e0f7291a54e95a26a7ac256765766a83d23
treefd09d300ab643c18690cd5d5ecf60596b3ee2131
parent1cee1a49661c71a6ef643617378bcf18b0666205
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