Re: [PATCH RFC v3 18/36] kmsan: disable LOCK_DEBUGGING_SUPPORT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On Dec 4, 2019, at 7:22 AM, Petr Mladek <pmladek@xxxxxxxx> wrote:
> 
> IMHO, a generic distro debug kernel could not enable debugging
> options that would significantly slow down the kernel. Most users
> would refuse using such kernels. Also they might slow down
> the system to the point that many problems won't be visible.
> 
> For example, I do not see KASAN enabled in SUSE debug kernel.
> I guess that it will be the same with KMSAN. These options
> can be enabled in custom kernels when debugging particular
> problems.

No, KASAN is one of most important debug options to find general issues. It was actually used in many debug kernels like those in Google. In contrast, it will find many issues compared to without even though the performance would suffer in some degrees.

I would even argue that since KASAN is so valuable that it is also desirable to get KMSAN to work together with KASAN by improving the compilers. Otherwise, it is a struggling to choose between KASAN and KMSAN for general debug kernels as KASAN could also cover a subset of KMSAN coverage.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux