Re: [PATCH v4 01/10] kcsan: Add Kernel Concurrency Sanitizer infrastructure

From: Qian Cai
Date: Tue Nov 19 2019 - 14:27:39 EST


On Thu, 2019-11-14 at 19:02 +0100, 'Marco Elver' via kasan-dev wrote:

> +menuconfig KCSAN
> + bool "KCSAN: watchpoint-based dynamic data race detector"
> + depends on HAVE_ARCH_KCSAN && !KASAN && STACKTRACE

"!KASAN" makes me sorrow. What's problem of those two?

> + default n
> + help
> + Kernel Concurrency Sanitizer is a dynamic data race detector, which
> + uses a watchpoint-based sampling approach to detect races. See
> + <file:Documentation/dev-tools/kcsan.rst> for more details.
> +