Re: [PATCH] rcutorture: Run TREE03 priority-boost and forward-progress tests separately

From: Joel Fernandes

Date: Wed Dec 02 2026 - 16:42:35 EST


On Wed, Dec 2, 2026 at 4:10 PM Paul E. McKenney <paulmck@xxxxxxxxxx> wrote:
>
> On Wed, Dec 02, 2026 at 12:04:45PM -0500, Joel Fernandes wrote:
> > The priority-boost test holds a reader in an RCU read-side critical section for
> > up to test_boost_reader_ms of CPU time, which can hold a grace period open for
> > seconds. This interferes with RCU's forward progress testing causing OOM
> > errors.
> >
> > This commit therefore runs TREE03 with only priority-boost testing by setting
> > rcutorture.fwd_progress=0, and add TREE11, a copy of TREE03 with only
> > forward-progress testing, by setting rcutorture.test_boost=0. Add TREE11 to
> > CFLIST so that both are run by default. This costs one additional scenario
> > however it prevents modifying new and existing tests which lowers risk of test
> > regression.
> >
> > Signed-off-by: Joel Fernandes <jfern@xxxxxxxxxx>
>
> Good as a workaround, and has the benefit of being simple enough for
> the upcoming merge window.
>
> Reviewed-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
>

Thanks! Will carry for 7.5.