Re: [PATCH RFC v2 10/10] maple_tree: use percpu sheaves for maple_node_cache

2025-02-22 Thread Suren Baghdasaryan
On Fri, Feb 14, 2025 at 8:28 AM Vlastimil Babka wrote: > > Setup the maple_node_cache with percpu sheaves of size 32 to hopefully > improve its performance. I guess 32 might change in the future based on further testing? > Change the single node rcu freeing in > ma_free_rcu() to use kfree_rcu()

[PATCH RFC v2 10/10] maple_tree: use percpu sheaves for maple_node_cache

2025-02-14 Thread Vlastimil Babka
Setup the maple_node_cache with percpu sheaves of size 32 to hopefully improve its performance. Change the single node rcu freeing in ma_free_rcu() to use kfree_rcu() instead of the custom callback, which allows the rcu_free sheaf batching to be used. Note there are other users of mt_free_rcu() whe