Skip to content

Commit e8755d2

Browse files
committed
rcu: Remove expedited grace-period fast-path forward-progress helper
Now that the expedited 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 Trace grace periods. This commit therefore removes the conditional cond_resched() invocation. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
1 parent 910e120 commit e8755d2

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

kernel/rcu/tree_exp.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -924,8 +924,6 @@ void synchronize_rcu_expedited(void)
924924
// them, which allows reuse of ->gp_seq_polled_exp_snap.
925925
rcu_poll_gp_seq_start_unlocked(&rcu_state.gp_seq_polled_exp_snap);
926926
rcu_poll_gp_seq_end_unlocked(&rcu_state.gp_seq_polled_exp_snap);
927-
if (rcu_init_invoked())
928-
cond_resched();
929927
return; // Context allows vacuous grace periods.
930928
}
931929

0 commit comments

Comments
 (0)