Skip to content
Commit 30b491e2 authored by Uladzislau Rezki (Sony)'s avatar Uladzislau Rezki (Sony) Committed by Greg Kroah-Hartman
Browse files

rcu-tasks: Move RCU-tasks initialization to before early_initcall()

[ Upstream commit 1b04fa99 ]

PowerPC testing encountered boot failures due to RCU Tasks not being
fully initialized until core_initcall() time.  This commit therefore
initializes RCU Tasks (along with Rude RCU and RCU Tasks Trace) just
before early_initcall() time, thus allowing waiting on RCU Tasks grace
periods from early_initcall() handlers.

Link: https://lore.kernel.org/rcu/87eekfh80a.fsf@dja-thinkpad.axtens.net/
Fixes: 36dadef2

 ("kprobes: Init kprobes in early_initcall")
Tested-by: default avatarDaniel Axtens <dja@axtens.net>
Signed-off-by: default avatarUladzislau Rezki (Sony) <urezki@gmail.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent bc880f20
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment