> On Thu, May 12, 2022 at 10:37 AM Uladzislau Rezki <urezki@xxxxxxxxx> wrote: > > > > > On Thu, May 12, 2022 at 03:56:37PM +0200, Uladzislau Rezki wrote: > > > > Never mind. I port it into 5.10 > > > > > > Oh, this is on mainline. Sorry about that. If you want I have a tree here for > > > 5.10 , although that does not have the kfree changes, everything else is > > > ditto. > > > https://github.com/joelagnel/linux-kernel/tree/rcu-nocb-4 > > > > > No problem. kfree_rcu two patches are not so important in this series. > > So i have backported them into my 5.10 kernel because the latest kernel > > is not so easy to up and run on my device :) > > Actually I was going to write here, apparently some tests are showing > kfree_rcu()->call_rcu_lazy() causing possible regression. So it is > good to drop those for your initial testing! > Yep, i dropped both. The one that make use of call_rcu_lazy() seems not so important for kfree_rcu() because we do batch requests there anyway. One thing that i would like to improve in kfree_rcu() is a better utilization of page slots. I will share my results either tomorrow or on Monday. I hope that is fine. -- Uladzislau Rezki