[PATCH 2/2] testing/radix-tree/maple: Hack around kfree_rcu not existing
Pedro Falcato
pfalcato at suse.de
Wed Aug 6 03:21:19 PDT 2025
On Tue, Aug 05, 2025 at 09:26:47PM -0400, Liam R. Howlett wrote:
> * Pedro Falcato <pfalcato at suse.de> [250718 13: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.
> >
> > Signed-off-by: Pedro Falcato <pfalcato at suse.de>
>
> Thanks, but shouldn't this be patch 1 so that the testing continues to
> work?
Yeah, that makes sense, I'll re-order these two on a possible v2.
--
Pedro
More information about the maple-tree
mailing list