]> 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>
Wed, 11 Jun 2025 19:03:10 +0000 (15:03 -0400)
commit27b4d401e6a65163b796fdd0278c46e5a5da57e4
tree0acad3ef4859144c2c2aa790f3bf86b2c2243046
parent1fefe7d6e8e914962d0bd375d17eb19b1dff406c
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