diff options
author | Julia Lawall <Julia.Lawall@inria.fr> | 2024-10-13 23:16:49 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-15 20:50:21 +0300 |
commit | 497e17d807593bbeedc466029b30c2daa25004ba (patch) | |
tree | 7527da9d8114baa1fd3217fb67d791851f1f1a3e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1d304174106c93ce05f6088813ad7203b3eb381a (diff) | |
download | linux-497e17d807593bbeedc466029b30c2daa25004ba.tar.xz |
ipv4: replace call_rcu by kfree_rcu for simple kmem_cache_free callback
Since SLOB was removed and since
commit 6c6c47b063b5 ("mm, slab: call kvfree_rcu_barrier() from kmem_cache_destroy()"),
it is not necessary to use call_rcu when the callback only performs
kmem_cache_free. Use kfree_rcu() directly.
The changes were made using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Acked-by: Paul E. McKenney <paulmck@kernel.org>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Link: https://patch.msgid.link/20241013201704.49576-3-Julia.Lawall@inria.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions