[PATCH v4 12/12] mm/kasan: make kasan=on|off take effect for all three modes

Alexander Potapenko glider at google.com
Fri Nov 28 07:50:51 PST 2025


> @@ -30,7 +30,7 @@ static inline void kasan_enable(void)
>  /* For architectures that can enable KASAN early, use compile-time check. */
I think the behavior of kasan_enabled() is inconsistent with this comment now.
>  static __always_inline bool kasan_enabled(void)
>  {
> -       return IS_ENABLED(CONFIG_KASAN);
> +       return false;
>  }



More information about the kexec mailing list