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

From: Uladzislau Rezki
Date: Wed Dec 09 2020 - 15:38:21 EST


> 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>
> ---
> 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.

Thank you in advance!

--
Vlad Rezki