]> 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 <howlett@gmail.com>
Tue, 21 Jan 2025 16:33:00 +0000 (11:33 -0500)
commit624c061087e31ba30ec79ec356f4a5782d771d06
treea152cca2b5fcbfab6b4b003a538b412940f42494
parent8efb14c96a977a25375124bd7d2fef09797da6ce
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