mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
rcu-tasks: Remove grace-period fast-path rcu-tasks helper
Now that the grace-period fast path can only happen during the pre-scheduler portion of early boot, this fast path can no longer block run-time RCU Tasks and RCU Tasks Trace grace periods. This commit therefore removes the conditional cond_resched_tasks_rcu_qs() invocation. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
This commit is contained in:
parent
a5d1b0b68a
commit
5f11bad6b7
1 changed files with 0 additions and 2 deletions
|
@ -3492,8 +3492,6 @@ void synchronize_rcu(void)
|
||||||
// which allows reuse of ->gp_seq_polled_snap.
|
// which allows reuse of ->gp_seq_polled_snap.
|
||||||
rcu_poll_gp_seq_start_unlocked(&rcu_state.gp_seq_polled_snap);
|
rcu_poll_gp_seq_start_unlocked(&rcu_state.gp_seq_polled_snap);
|
||||||
rcu_poll_gp_seq_end_unlocked(&rcu_state.gp_seq_polled_snap);
|
rcu_poll_gp_seq_end_unlocked(&rcu_state.gp_seq_polled_snap);
|
||||||
if (rcu_init_invoked())
|
|
||||||
cond_resched_tasks_rcu_qs();
|
|
||||||
return; // Context allows vacuous grace periods.
|
return; // Context allows vacuous grace periods.
|
||||||
}
|
}
|
||||||
if (rcu_gp_is_expedited())
|
if (rcu_gp_is_expedited())
|
||||||
|
|
Loading…
Reference in a new issue