On Thu, 2 Dec 2021 at 11:45, Kefeng Wang <wangkefeng.wang@xxxxxxxxxx> wrote:OK, I will resend v3.
[...]
I think we have all the pieces sorted out, so hopefully you haveYes, that's what we want now.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)
everything you need to do v3.
Could you cc me, I can't reply email due to no subscribe to mailing list, thanks.
[...]
That looks like a reasonable thing to do, but can't say if it isI actually have a "fix" for the data race in rwsem_spin_on_owner, thatThere's a owner_on_cpu(), we could reuse it,
also shows where the other racing access comes from... which reminds me:
https://lkml.kernel.org/r/20211202101238.33546-1-elver@xxxxxxxxxx
actually the right thing to do. You could suggest it in reply to the
patch I just sent and see what people say.