diff options
author | Julia Lawall <Julia.Lawall@inria.fr> | 2024-10-13 22:17:00 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2024-10-16 10:40:31 +1100 |
commit | 1db6a4e8a3fc8ccaa4690272935e02831dc6d40d (patch) | |
tree | 50bce9f527f2e9dfa1632660e77d5c3c22fa3ecd /mm/early_ioremap.c | |
parent | 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b (diff) | |
download | linux-1db6a4e8a3fc8ccaa4690272935e02831dc6d40d.tar.gz linux-1db6a4e8a3fc8ccaa4690272935e02831dc6d40d.tar.bz2 linux-1db6a4e8a3fc8ccaa4690272935e02831dc6d40d.zip |
KVM: PPC: 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>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://patch.msgid.link/20241013201704.49576-14-Julia.Lawall@inria.fr
Diffstat (limited to 'mm/early_ioremap.c')
0 files changed, 0 insertions, 0 deletions