Re: [paulmckrcu:dev.2024.11.01a] [rcutorture] 622baf5d79: WARNING:at_kernel/rcu/rcutorture.c:#rcutorture_one_extend_check[rcutorture]

From: Oliver Sang
Date: Thu Nov 07 2024 - 01:29:35 EST


hi, Paul,

On Wed, Nov 06, 2024 at 12:07:37PM -0800, Paul E. McKenney wrote:
> On Tue, Nov 05, 2024 at 01:00:53PM +0800, kernel test robot wrote:
> >
> >
> > Hello,
> >
> > kernel test robot noticed "WARNING:at_kernel/rcu/rcutorture.c:#rcutorture_one_extend_check[rcutorture]" on:
> >
> > commit: 622baf5d79169496973d50fc43636469e6af02b7 ("rcutorture: Make rcutorture_one_extend() check reader state")
> > https://github.com/paulmckrcu/linux dev.2024.11.01a
>
> This is an old commit that failed to handle any torture_type other than
> "rcu", including the "srcu" that you tested with. It has since been
> replaced by a series of newer commits fixing this and other bugs, with
> the current version here:
>
> c815d319a933 ("rcutorture: Make rcutorture_one_extend() check reader state")
>
> Does this one work for you?

yes, this one works. issue gone when we run same test case up to 20 times.

d5e74d8e46e8e45c 622baf5d79169496973d50fc436 c815d319a9331530032be3df69c
---------------- --------------------------- ---------------------------
fail:runs %reproduction fail:runs %reproduction fail:runs
| | | | |
:6 100% 6:6 0% :20 dmesg.EIP:rcutorture_one_extend_check
:6 100% 6:6 0% :20 dmesg.WARNING:at_kernel/rcu/rcutorture.c:#rcutorture_one_extend_check[rcutorture]

thanks!

>
> Either way, thank you for your testing efforts!
>
> Thanx, Paul
>