On Wed, Sep 17, 2025 at 4:46 AM Harry Yoo <[email protected]> wrote: > > On Wed, Sep 10, 2025 at 10:01:20AM +0200, Vlastimil Babka wrote: > > From: Pedro Falcato <[email protected]> > > > > kfree_rcu is an optimized version of call_rcu + kfree. It used to not be > > possible to call it on non-kmalloc objects, but this restriction was > > lifted ever since SLOB was dropped from the kernel, and since commit > > 6c6c47b063b5 ("mm, slab: call kvfree_rcu_barrier() from > > kmem_cache_destroy()"). > > > > Thus, replace call_rcu + mt_free_rcu with kfree_rcu. > > > > Signed-off-by: Pedro Falcato <[email protected]> > > Signed-off-by: Vlastimil Babka <[email protected]> > > --- > > Looks good to me, > Reviewed-by: Harry Yoo <[email protected]>
Reviewed-by: Suren Baghdasaryan <[email protected]> > > -- > Cheers, > Harry / Hyeonggon

