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

From: Marco Elver
Date: Fri Dec 03 2021 - 18:45:46 EST


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

Thanks,
-- Marco