diff options
| author | Paul E. McKenney <paulmck@kernel.org> | 2026-07-28 14:58:49 -0700 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@kernel.org> | 2026-08-14 14:59:21 -0700 |
| commit | 20ed97cfde0536991fcb1785453a7748fb131620 (patch) | |
| tree | c5299c2c23598711e4917e7732fe157068e885d7 /scripts/objdiff | |
| parent | 6c22d640117c3da7fa7fffa0b1ddebc667507ad9 (diff) | |
| download | linux-20ed97cfde0536991fcb1785453a7748fb131620.tar.gz linux-20ed97cfde0536991fcb1785453a7748fb131620.zip | |
rcutorture: Make {,s}rcu_read_delay() better handle forward-progress testing
The rcu_read_delay() and srcu_read_delay() functions are suppose to
avoid (or at least to minimize) read-side delays during call_rcu()-based
forward-progress testing. Although rcu_read_delay() does account for
this by testing rcu_fwd_cb_nodelay, it only does so in some cases, and
srcu_read_delay() does not bother at all. And rcutorture testing does
occasionally turn up the MIN_FWD_CBS_LAUNDERED failure when running
forward-progress tests on Tree SRCU flavors.
This commit therefore makes both rcu_read_delay() and srcu_read_delay()
take an immediate exit if rcu_fwd_cb_nodelay is set.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
