aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel/rcu/tree_exp.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2022-08-04 17:34:30 -0700
committerPaul E. McKenney <paulmck@kernel.org>2022-08-31 05:09:21 -0700
commite8755d2bde7c296026fe5d47f1b75c7b19ba46fd (patch)
treefec93328179f3b0a636ab361016bc11632b1efbb /kernel/rcu/tree_exp.h
parentrcu: Make synchronize_rcu() fast path update ->gp_seq counters (diff)
downloadwireguard-linux-e8755d2bde7c296026fe5d47f1b75c7b19ba46fd.tar.xz
wireguard-linux-e8755d2bde7c296026fe5d47f1b75c7b19ba46fd.zip
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>
Diffstat (limited to 'kernel/rcu/tree_exp.h')
-rw-r--r--kernel/rcu/tree_exp.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/rcu/tree_exp.h b/kernel/rcu/tree_exp.h
index 9c0ae834ef07..1a51f9301ebf 100644
--- a/kernel/rcu/tree_exp.h
+++ b/kernel/rcu/tree_exp.h
@@ -924,8 +924,6 @@ void synchronize_rcu_expedited(void)
// them, which allows reuse of ->gp_seq_polled_exp_snap.
rcu_poll_gp_seq_start_unlocked(&rcu_state.gp_seq_polled_exp_snap);
rcu_poll_gp_seq_end_unlocked(&rcu_state.gp_seq_polled_exp_snap);
- if (rcu_init_invoked())
- cond_resched();
return; // Context allows vacuous grace periods.
}