[PATCH v2 1/3] testing/radix-tree/maple: Hack around kfree_rcu not existing
Pedro Falcato
pfalcato at suse.de
Fri Aug 15 10:06:49 PDT 2025
On Fri, Aug 15, 2025 at 11:11:30AM -0400, Liam R. Howlett wrote:
> * Pedro Falcato <pfalcato at suse.de> [250812 12:21]:
> > liburcu doesn't have kfree_rcu (or anything similar). Despite that, we
> > can hack around it in a trivial fashion, by adding a wrapper.
> >
> > This wrapper only works for maple_nodes, and not anything else (due to
> > us not being able to know rcu_head offsets in any way), and thus we take
> > advantage of the type checking to avoid future silent breakage.
> >
> > Reviewed-by: Sidhartha Kumar <sidhartha.kumar at oracle.com>
> > Signed-off-by: Pedro Falcato <pfalcato at suse.de>
>
>
> Andrew,
>
> Please drop this patch set. We will have it go through Vlastimil's tree
> to avoid conflicts with other work and to maintain the userspace testing
> in mm-new while that happens.
In case this helps, Andrew, it's maple_tree-use-kfree_rcu-in-ma_free_rcu.patch
and testing-radix-tree-maple-hack-around-kfree_rcu-not-existing.patch in your series file.
(Yes, I should have used a cover letter here, it would've made it easier to
manage, my mistake)
--
Pedro
More information about the maple-tree
mailing list