Commit d96225fd authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu-tasks: Split rcu_tasks_one_gp() from rcu_tasks_kthread()



This commit abstracts most of the rcu_tasks_kthread() function's loop
body into a new rcu_tasks_one_gp() function.  It also introduces
a new ->tasks_gp_mutex to synchronize concurrent calls to this new
rcu_tasks_one_gp() function.  This commit is preparation for allowing
RCU tasks grace periods to be driven by the calling task during the
mid-boot dead zone.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 4cf0585c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment