aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/xarray.c
diff options
context:
space:
mode:
authorJoel Fernandes <[email protected]>2025-02-16 11:52:20 +0000
committerJoel Fernandes <[email protected]>2025-05-16 15:13:27 +0000
commitaafe12f980640c33882a1d09992560cdf11fbd6f (patch)
treee7c46d70047230b352aaaddc6bb801eb4288282b /rust/helpers/xarray.c
parenttorture: Add testing of RCU's Rust bindings to torture.sh (diff)
downloadkernel-aafe12f980640c33882a1d09992560cdf11fbd6f.tar.gz
kernel-aafe12f980640c33882a1d09992560cdf11fbd6f.zip
rcutorture: Perform more frequent testing of ->gpwrap
Currently, the ->gpwrap is not tested (at all per my testing) due to the requirement of a large delta between a CPU's rdp->gp_seq and its node's rnp->gpseq. This results in no testing of ->gpwrap being set. This patch by default adds 5 minutes of testing with ->gpwrap forced by lowering the delta between rdp->gp_seq and rnp->gp_seq to just 8 GPs. All of this is configurable, including the active time for the setting and a full testing cycle. By default, the first 25 minutes of a test will have the _default_ behavior there is right now (ULONG_MAX / 4) delta. Then for 5 minutes, we switch to a smaller delta causing 1-2 wraps in 5 minutes. I believe this is reasonable since we at least add a little bit of testing for usecases where ->gpwrap is set. [ Apply fix for Dan Carpenter's bug report on init path cleanup. ] [ Apply kernel doc warning fix from Akira Yokosawa. ] Tested-by: Paul E. McKenney <[email protected]> Signed-off-by: Joel Fernandes <[email protected]>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions