Re: [tip: locking/kcsan] READ_ONCE: Use data_race() to avoid KCSAN instrumentation
From: Marco Elver
Date: Thu May 21 2020 - 05:38:09 EST
On Thu, 21 May 2020 at 09:26, Borislav Petkov <bp@xxxxxxxxx> wrote:
>
> On Thu, May 21, 2020 at 12:30:39AM +0200, Marco Elver wrote:
> > This should be fixed when the series that includes this commit is applied:
> > https://lore.kernel.org/lkml/20200515150338.190344-9-elver@xxxxxxxxxx/
>
> Yap, that fixes it.
>
> Thx.
Thanks for confirming. I think Peter also mentioned that nested
statement expressions caused issues.
This probably also means we shouldn't have a nested "data_race()"
macro, to avoid any kind of nested statement expressions where
possible.
I will send a v2 of the above series to add that patch.
Thanks,
-- Marco