Thread (11 messages) 11 messages, 3 authors, 2021-12-02

Re: [PATCH v2] arm64: Enable KCSAN

From: Marco Elver <elver@google.com>
Date: 2021-12-02 10:58:39
Also in: lkml

On Thu, 2 Dec 2021 at 11:45, Kefeng Wang [off-list ref] wrote:
[...]
quoted
quoted
for now and more explanation into changlog.
So what I gather arm64's final select line may look like:

      select HAVE_ARCH_KCSAN if EXPERT && (CC_IS_GCC || CLANG_VERSION >= 120000)
Yes,  that's what we want now.
I think we have all the pieces sorted out, so hopefully you have
everything you need to do v3.

[...]
quoted
I actually have a "fix" for the data race in rwsem_spin_on_owner, that
also shows where the other racing access comes from... which reminds me:
https://lkml.kernel.org/r/20211202101238.33546-1-elver@google.com
There's a owner_on_cpu(),  we could reuse it,
That looks like a reasonable thing to do, but can't say if it is
actually the right thing to do. You could suggest it in reply to the
patch I just sent and see what people say.

Thanks,
-- Marco

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help