Re: [PATCH v5 17/18] READ_ONCE: Use data_race() to avoid KCSAN instrumentation

From: Peter Zijlstra
Date: Tue May 12 2020 - 04:23:28 EST


On Mon, May 11, 2020 at 09:41:49PM +0100, Will Deacon wrote:

> + data_race(({ __WRITE_ONCE(*__xp, val); 0; })); \

That had me blink for a little, I see how we got there, but urgh.

Anyway, it's all in *much* better shape now than it was, so no real
copmlaints.