]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: use percpu sheaves for maple_node_cache
authorVlastimil Babka <vbabka@suse.cz>
Mon, 7 Aug 2023 18:52:02 +0000 (20:52 +0200)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 4 Sep 2025 17:45:55 +0000 (13:45 -0400)
commite958bf0d8d8fae20f9e5c8b2f1b73fa4e8e5ba10
treeffbae846df585e91b3a7db1ef9a4e4b3d51a1d07
parentd3abb0c793ff05c9326f386e89ecebf9cdcfb233
maple_tree: use percpu sheaves for maple_node_cache

Setup the maple_node_cache with percpu sheaves of size 32 to hopefully
improve its performance. Note this will not immediately take advantage
of sheaf batching of kfree_rcu() operations due to the maple tree using
call_rcu with custom callbacks. The followup changes to maple tree will
change that and also make use of the prefilled sheaves functionality.

Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Suren Baghdasaryan <surenb@google.com>
lib/maple_tree.c