]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - lib/Kconfig.kasan
KVM: arm64: vgic-v3: Add ICV_IAR1_EL1 handler
[mirror_ubuntu-zesty-kernel.git] / lib / Kconfig.kasan
index 0fee5acd5aa09e2bd65ade1200cae5e48bacfa22..bd38aab05929813acae4db2cd09f609a83d2025c 100644 (file)
@@ -5,8 +5,9 @@ if HAVE_ARCH_KASAN
 
 config KASAN
        bool "KASan: runtime memory debugger"
-       depends on SLUB_DEBUG
+       depends on SLUB || (SLAB && !DEBUG_SLAB)
        select CONSTRUCTORS
+       select STACKDEPOT
        help
          Enables kernel address sanitizer - runtime memory debugger,
          designed to find out-of-bounds accesses and use-after-free bugs.
@@ -16,6 +17,8 @@ config KASAN
          This feature consumes about 1/8 of available memory and brings about
          ~x3 performance slowdown.
          For better error detection enable CONFIG_STACKTRACE.
+         Currently CONFIG_KASAN doesn't work with CONFIG_DEBUG_SLAB
+         (the resulting kernel does not boot).
 
 choice
        prompt "Instrumentation type"