diff options
author | Julia Lawall <Julia.Lawall@inria.fr> | 2024-10-13 22:16:56 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-10-22 08:16:40 -0600 |
commit | 28878733ca5abbce0d0e66476605746d9c4c9765 (patch) | |
tree | 44ab46a94ba70cab1d8caef33769706569269ab2 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | b21d948f4cc73e3296f2365c7afca721dd6893fa (diff) |
block: 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>
Link: https://lore.kernel.org/r/20241013201704.49576-10-Julia.Lawall@inria.fr
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions