Skip to content
Commit de3f2671 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

srcu: Make Tiny SRCU poll_state_synchronize_srcu() more precise



This commit applies the more-precise grace-period-state check used by
rcu_seq_done_exact() to poll_state_synchronize_srcu().  This is important
because Tiny SRCU uses a 16-bit counter, which can wrap quite quickly.
If counter wrap continues to be a problem, then expanding ->srcu_idx
and ->srcu_idx_max to 32 bits might be warranted.

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