[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89i+qkK7NvsJMiV1wWhbUajJCbtTeDLPB8TH1DsQAJk4pOg@mail.gmail.com>
Date: Mon, 14 Oct 2024 09:42:55 +0200
From: Eric Dumazet <edumazet@...gle.com>
To: Julia Lawall <Julia.Lawall@...ia.fr>
Cc: "David S. Miller" <davem@...emloft.net>, kernel-janitors@...r.kernel.org, vbabka@...e.cz,
paulmck@...nel.org, David Ahern <dsahern@...nel.org>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 03/17] inetpeer: replace call_rcu by kfree_rcu for simple
kmem_cache_free callback
On Sun, Oct 13, 2024 at 10:18 PM Julia Lawall <Julia.Lawall@...ia.fr> 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 made using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@...ia.fr>
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists