Re: [PATCH v3 1/2] rcutorture: Perform more frequent testing of ->gpwrap

2025-04-19 Thread Paul E. McKenney
On Wed, Apr 16, 2025 at 11:19:22AM +, Joel Fernandes wrote: > > > > On Apr 15, 2025, at 8:19 PM, Paul E. McKenney wrote: > > > > On Mon, Apr 14, 2025 at 11:05:45AM -0400, Joel Fernandes wrote: > >> On 4/10/2025 2:29 PM, Paul E. McKenney wrote: > +static int rcu_gpwrap_lag_init(void) >

Re: [PATCH v3 1/2] rcutorture: Perform more frequent testing of ->gpwrap

2025-04-16 Thread Joel Fernandes
> On Apr 15, 2025, at 8:19 PM, Paul E. McKenney wrote: > > On Mon, Apr 14, 2025 at 11:05:45AM -0400, Joel Fernandes wrote: >> On 4/10/2025 2:29 PM, Paul E. McKenney wrote: +static int rcu_gpwrap_lag_init(void) +{ +if (gpwrap_lag_cycle_mins <= 0 || gpwrap_lag_active_mins <= 0

Re: [PATCH v3 1/2] rcutorture: Perform more frequent testing of ->gpwrap

2025-04-15 Thread Paul E. McKenney
On Mon, Apr 14, 2025 at 11:05:45AM -0400, Joel Fernandes wrote: > On 4/10/2025 2:29 PM, Paul E. McKenney wrote: > >> +static int rcu_gpwrap_lag_init(void) > >> +{ > >> + if (gpwrap_lag_cycle_mins <= 0 || gpwrap_lag_active_mins <= 0) { > >> + pr_alert("rcu-torture: lag timing parameters mu

Re: [PATCH v3 1/2] rcutorture: Perform more frequent testing of ->gpwrap

2025-04-14 Thread Joel Fernandes
On 4/10/2025 2:29 PM, Paul E. McKenney wrote: >> +static int rcu_gpwrap_lag_init(void) >> +{ >> +if (gpwrap_lag_cycle_mins <= 0 || gpwrap_lag_active_mins <= 0) { >> +pr_alert("rcu-torture: lag timing parameters must be >> positive\n"); >> +return -EINVAL; > When rcutort

Re: [PATCH v3 1/2] rcutorture: Perform more frequent testing of ->gpwrap

2025-04-10 Thread Paul E. McKenney
On Thu, Apr 10, 2025 at 11:54:13AM -0700, Paul E. McKenney wrote: > On Thu, Apr 10, 2025 at 11:29:03AM -0700, Paul E. McKenney wrote: > > On Thu, Apr 10, 2025 at 11:03:27AM -0400, Joel Fernandes wrote: > > > Currently, the ->gpwrap is not tested (at all per my testing) due to > > the > requirement

Re: [PATCH v3 1/2] rcutorture: Perform more frequent testing of ->gpwrap

2025-04-10 Thread Paul E. McKenney
On Thu, Apr 10, 2025 at 11:29:03AM -0700, Paul E. McKenney wrote: > On Thu, Apr 10, 2025 at 11:03:27AM -0400, Joel Fernandes wrote: > > 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

Re: [PATCH v3 1/2] rcutorture: Perform more frequent testing of ->gpwrap

2025-04-10 Thread Paul E. McKenney
On Thu, Apr 10, 2025 at 11:03:27AM -0400, Joel Fernandes wrote: > 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 def

[PATCH v3 1/2] rcutorture: Perform more frequent testing of ->gpwrap

2025-04-10 Thread Joel Fernandes
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