Re: [PATCH 1/2] rcu-tasks: move RCU-tasks initialization out of core_initcall()

From: Uladzislau Rezki
Date: Thu Dec 10 2020 - 13:20:17 EST


Hello, Daniel.

> Hi Vlad,
>
> >> Initialize the RCU-tasks earlier, before *_initcall() callbacks are
> >> invoked. Do it after the workqueue subsytem is up and running. That
> >> gives us a possibility to make use of synchronize_rcu_tasks*() wait
> >> API in early_initcall() callbacks.
> >>
> >> Fixes: 36dadef23fcc ("kprobes: Init kprobes in early_initcall")
> >> Signed-off-by: Uladzislau Rezki (Sony) <urezki@xxxxxxxxx>
>
> Tested-by: Daniel Axtens <dja@xxxxxxxxxx>
>
Thank you for checking it!

> >> ---
> >> include/linux/rcupdate.h | 6 ++++++
> >> init/main.c | 1 +
> >> kernel/rcu/tasks.h | 26 ++++++++++++++++++++++----
> >> 3 files changed, 29 insertions(+), 4 deletions(-)
> >>
> > I still don't have a powerPC hw so far, even though i have sent a request
> > to the osuosl.org. It would be appreciated if Michael or Daniel could run
> > and verify it.
>
> Sorry it's taken me so long to get to this. Your patch fixes things for
> me. Thanks!
>
No problem. I fully understand that sometimes we are limited in spare time.

>
> BTW, I'm happy to see you taking on the challenge of RCU after your good
> work on vmalloc - all the best with it!
>
Yep, that work was quite interesting and probably not so easy, at least
in the beginning. Thanks for your supportive words and same to you
regarding your excellent KASAN work and future challenge :)

--
Vlad Rezki