On 3/13/24 13:18, Eric Dumazet wrote:
kmem_cache_free() is not the same than kfree() Unless I have missed something in mm territory , your patch is not going to work.
Hm... it seems that you're better to check include/linux/rcupdate.h and the comment before kfree_rcu() definition in particular. Dmitry