diff options
author | Julia Lawall <Julia.Lawall@inria.fr> | 2024-10-13 23:17:01 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-10-15 20:50:21 +0300 |
commit | 7bb3ecbc2b6b146d244789025c892eb28c212d5c (patch) | |
tree | 39021a0fa0a04d4564e430f342f31e748095217c /tools/perf/scripts/python/parallel-perf.py | |
parent | 4ac64e570c337cfbff80f16334b10901168107eb (diff) | |
download | linux-7bb3ecbc2b6b146d244789025c892eb28c212d5c.tar.xz |
kcm: 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>
Acked-by: Paul E. McKenney <paulmck@kernel.org>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Link: https://patch.msgid.link/20241013201704.49576-15-Julia.Lawall@inria.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions