Thread (36 messages) 36 messages, 12 authors, 2024-11-17

Re: (subset) [PATCH 00/17] replace call_rcu by kfree_rcu for simple kmem_cache_free callback

From: Michael Ellerman <hidden>
Date: 2024-11-17 12:04:24
Also in: batman, bridge, kernel-janitors, kvm, linux-block, linux-can, linux-nfs, linuxppc-dev, lkml, netfilter-devel

On Sun, 13 Oct 2024 22:16:47 +0200, Julia Lawall wrote:
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 done using the following Coccinelle semantic patch.
This semantic patch is designed to ignore cases where the callback
function is used in another way.

[...]
Applied to powerpc/topic/ppc-kvm.

[13/17] KVM: PPC: replace call_rcu by kfree_rcu for simple kmem_cache_free callback
        https://git.kernel.org/powerpc/c/1db6a4e8a3fc8ccaa4690272935e02831dc6d40d

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help