Re: [PATCH v3 04/25] kcsan: Add core support for a subset of weak memory modeling

From: Paul E. McKenney
Date: Fri Dec 03 2021 - 20:15:14 EST


On Sat, Dec 04, 2021 at 12:45:30AM +0100, Marco Elver wrote:
> On Sat, 4 Dec 2021 at 00:42, Paul E. McKenney <paulmck@xxxxxxxxxx> wrote:
> [...]
> > And to further extend this bug report, the following patch suppresses
> > the error.
> >
> > Thanx, Paul
> >
> > ------------------------------------------------------------------------
> >
> > commit d157b802f05bd12cf40bef7a73ca6914b85c865e
> > Author: Paul E. McKenney <paulmck@xxxxxxxxxx>
> > Date: Fri Dec 3 15:35:29 2021 -0800
> >
> > kcsan: selftest: Move test spinlock to static global
>
> Indeed, that will fix the selftest. The kcsan_test has the same
> problem (+1 extra problem).
>
> We raced sending the fix. :-)
> I hope this patch works for you:
> https://lkml.kernel.org/r/20211203233817.2815340-1-elver@xxxxxxxxxx

I replaced my patch with yours and am starting up testing, thank you!

Thanx, Paul