On Mon, May 27, 2024 at 09:51:35PM +0200, Julia Lawall wrote:
> 
> 
> On Mon, 27 May 2024, Uladzislau Rezki wrote:
> 
> > On Mon, May 27, 2024 at 12:27:14PM -0700, Paul E. McKenney wrote:
> > > On Mon, May 27, 2024 at 10:13:40AM +0200, Julia Lawall wrote:
> > > >
> > > >
> > > > On Mon, 27 May 2024, Vlastimil Babka wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > one bit from LSF/MM discussions is that there might be call_rcu users 
> > > > > with a
> > > > > callback that only does a kmem_cache_free() to a specific cache. 
> > > > > Since SLOB
> > > > > was removed, it's always ok to use kfree() and thus also kfree_rcu() 
> > > > > on
> > > > > allocations from kmem_cache_alloc() in addition to kmalloc(). Thus, 
> > > > > such
> > > > > call_rcu() users might be simplified to kfree_rcu(). I found some 
> > > > > cases
> > > > > semi-manually, but I'd expect coccinelle could help here so if anyone 
> > > > > wants
> > > > > to take this task, feel free to.
> > > >
> > > > Thanks for the suggestion!  I will try to look into it.
> > >
> > > Thank you both!
> > >
> > I wanted to take an action on it but Julia was first. So, please go ahead :)
> 
> If you want to try, please go ahead.  We can compare results.
> 
It is appreciated if you proceed. From my side i will keep an eye and if
n it. If something is missed, which i can detect, i will let you know.

Thanks.

--
Uladzislau Rezki

Reply via email to