Re: [PATCH v4 01/10] kcsan: Add Kernel Concurrency Sanitizer infrastructure
From: Marco Elver
Date: Tue Nov 19 2019 - 16:54:03 EST
On Tue, 19 Nov 2019 at 22:42, Qian Cai <cai@xxxxxx> wrote:
>
>
>
> > On Nov 19, 2019, at 2:54 PM, Marco Elver <elver@xxxxxxxxxx> wrote:
> >
> > Regardless of approach, my guess is that the complexity outweighs any
> > benefits this may provide in the end. Not only would a hypothetical
> > kernel that combines these be extremely slow, it'd also diminish the
> > practical value because testing and finding bugs would also be
> > impaired due to performance.
>
> On the other hand, it is valuable for distros to be able to select both for the debug kernel variant. Performance is usually not a major concern over there and could be migrated by other means like selecting powerful systems etc.
Fair enough. However, right now none of gcc nor clang would support
this. It is something to revisit in future, but is certainly not
something that can trivially be resolved.
Thanks,
-- Marco