diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2022-08-02 11:59:49 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-08-31 05:10:15 -0700 |
commit | de3f2671ae563d24c679dcca36c9e0ebd9564ebd (patch) | |
tree | 0cd0a5fa7b7668a31f26df0a1d2a0fcfff642a49 /include/linux/srcutiny.h | |
parent | d66e4cf974a53c1195f1f5a96387ee5dbad2bdf2 (diff) |
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: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'include/linux/srcutiny.h')
0 files changed, 0 insertions, 0 deletions