wireguard: allowedips: use kfree_rcu() and don't wait on rcu_barrier()
Since SLOB was removed, it is not necessary to use call_rcu() when the
callback only performs kmem_cache_free(), so we can use kfree_rcu()
directly. kfree_rcu() happens in batches and doesn't need to wait on
rcu_barrier() to complete, so also remove the barrier.
Cc: Paul E. McKenney <paulmck@kernel.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Julia Lawall <Julia.Lawall@inria.fr>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
1 file changed