Re: [PATCH 2/9] kasan: replace kasan_arch_is_ready with kasan_enabled

2025-06-25 Thread Sabyrzhan Tasbolatov
On Wed, Jun 25, 2025 at 5:24 PM Johannes Berg wrote: > > On Wed, 2025-06-25 at 12:27 +0200, Christophe Leroy wrote: > > > > Le 25/06/2025 à 11:52, Sabyrzhan Tasbolatov a écrit : > > > Replace the existing kasan_arch_is_ready() calls with kasan_enabled(). > > > Drop checks where the caller is alrea

Re: [PATCH 2/9] kasan: replace kasan_arch_is_ready with kasan_enabled

2025-06-25 Thread Johannes Berg
On Wed, 2025-06-25 at 12:27 +0200, Christophe Leroy wrote: > > Le 25/06/2025 à 11:52, Sabyrzhan Tasbolatov a écrit : > > Replace the existing kasan_arch_is_ready() calls with kasan_enabled(). > > Drop checks where the caller is already under kasan_enabled() condition. > > If I understand correctl

Re: [PATCH 2/9] kasan: replace kasan_arch_is_ready with kasan_enabled

2025-06-25 Thread Christophe Leroy
Le 25/06/2025 à 11:52, Sabyrzhan Tasbolatov a écrit : Replace the existing kasan_arch_is_ready() calls with kasan_enabled(). Drop checks where the caller is already under kasan_enabled() condition. If I understand correctly, it means that KASAN won't work anymore between patch 2 and 9, beca

[PATCH 2/9] kasan: replace kasan_arch_is_ready with kasan_enabled

2025-06-25 Thread Sabyrzhan Tasbolatov
Replace the existing kasan_arch_is_ready() calls with kasan_enabled(). Drop checks where the caller is already under kasan_enabled() condition. Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218315 Signed-off-by: Sabyrzhan Tasbolatov --- mm/kasan/common.c | 8 mm/kasan/generic.c