RE: [PATCH 1/1] rcu/rcuscale: Stop kfree_scale_thread thread(s) after unloading rcuscale

From: Zhuo, Qiuxu
Date: Thu Mar 16 2023 - 23:29:13 EST


> From: Joel Fernandes <joel@xxxxxxxxxxxxxxxxx>
> [...]
> > I'm OK with creating a new kernel module for these kfree stuffs, but
> > do we really need to do that?
>
> If it were me doing this, I would try to split it just because in the long term I
> may have to maintain or deal with it.
>
> I was also thinking a new scale directory _may_ make sense for performance
> tests.
>
> kernel/rcu/scaletests/kfree.c
> kernel/rcu/scaletests/core.c
> kernel/rcu/scaletests/ref.c

This looks like really a good constructive suggestion.
But today, please give me a break. ;-).

Thanks!
-Qiuxu

> Or something like that.
>
> and then maybe putt common code into: kernel/rcu/scaletests/common.c