diff options
| author | Julia Lawall <[email protected]> | 2024-10-13 20:17:00 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2024-10-15 23:40:31 +0000 |
| commit | 1db6a4e8a3fc8ccaa4690272935e02831dc6d40d (patch) | |
| tree | 50bce9f527f2e9dfa1632660e77d5c3c22fa3ecd /rust/helpers/security.c | |
| parent | Linux 6.12-rc2 (diff) | |
| download | kernel-1db6a4e8a3fc8ccaa4690272935e02831dc6d40d.tar.gz kernel-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 <[email protected]>
Acked-by: Paul E. McKenney <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'rust/helpers/security.c')
0 files changed, 0 insertions, 0 deletions
