Re: [PATCH] x86, kasan: add KASAN checks to atomic operations

From: Peter Zijlstra
Date: Mon Mar 06 2017 - 10:33:44 EST


On Mon, Mar 06, 2017 at 03:24:23PM +0100, Dmitry Vyukov wrote:
> We could involve compiler (and by compiler I mean clang, because we
> are not going to touch gcc, any volunteers?).

FWIW, clang isn't even close to being a viable compiler for the kernel.
It lacks far too many features, _IF_ you can get it to compiler in the
first place.