Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote: > From: Eric Dumazet <edumazet@xxxxxxxxxx> > > While kfree_rcu(ptr) _is_ supported, it has some limitations. > > Given that 99.99% of kfree_rcu() users [1] use the legacy > two parameters variant, and @catchall objects do have an rcu head, > simply use it. > > Choice of kfree_rcu(ptr) variant was probably not intentional. In case someone wondered, this causes expensive sycnhronize_rcu + kfree for each removal operation. Reviewed-by: Florian Westphal <fw@xxxxxxxxx>