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

- From: Marco Elver \<elver@google.com\>
- Date: 2021-12-03 23:45:45 
- List: linux-doc
- Page: https://ratatoskr.run/linux-doc/2021/12/1595964
- Thread: https://ratatoskr.run/linux-arch/2021/11/1591218/t.md

```text
On Sat, 4 Dec 2021 at 00:42, Paul E. McKenney [ref] wrote:
[...]
> And to further extend this bug report, the following patch suppresses
> the error.
>
>                                                         Thanx, Paul
>
> ------------------------------------------------------------------------
>
> commit d157b802f05bd12cf40bef7a73ca6914b85c865e
> Author: Paul E. McKenney [ref]
> 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@google.com

Thanks,
-- Marco
```
