Re: [PATCH v2 00/11] kasan: unify kasan_arch_is_ready with kasan_enabled

2025-07-01 Thread Christophe Leroy
Le 01/07/2025 à 12:15, Heiko Carstens a écrit : Another thing that needs careful consideration is whether it's possible to combine kasan_arch_is_ready() and kasan_enabled() into the same check logically at all. There's one issue mentioned in [1]: Hello, I've removed kasan_arch_is_ready() at

Re: [PATCH v2 00/11] kasan: unify kasan_arch_is_ready with kasan_enabled

2025-07-01 Thread Heiko Carstens
On Tue, Jul 01, 2025 at 12:25:32PM +0200, Christophe Leroy wrote: > Your patch below is simpler than what I proposed, but it keeps the static > branches so the overhead remains. > > I also proposed a change, it goes further by removing the static branch for > architectures that don't need it, see

Re: [PATCH v2 00/11] kasan: unify kasan_arch_is_ready with kasan_enabled

2025-07-01 Thread Heiko Carstens
> > > Another thing that needs careful consideration is whether it's > > > possible to combine kasan_arch_is_ready() and kasan_enabled() into the > > > same check logically at all. There's one issue mentioned in [1]: > > > > Hello, > > I've removed kasan_arch_is_ready() at all in this series: > > [

Re: [PATCH v2 00/11] kasan: unify kasan_arch_is_ready with kasan_enabled

2025-06-29 Thread Andrey Konovalov
On Sat, Jun 28, 2025 at 3:25 PM Sabyrzhan Tasbolatov wrote: > > On Sat, Jun 28, 2025 at 3:57 PM Andrey Konovalov wrote: > > > > On Thu, Jun 26, 2025 at 5:32 PM Sabyrzhan Tasbolatov > > wrote: > > > > > > This patch series unifies the kasan_arch_is_ready() and kasan_enabled() > > > interfaces by

Re: [PATCH v2 00/11] kasan: unify kasan_arch_is_ready with kasan_enabled

2025-06-28 Thread Sabyrzhan Tasbolatov
On Sat, Jun 28, 2025 at 3:57 PM Andrey Konovalov wrote: > > On Thu, Jun 26, 2025 at 5:32 PM Sabyrzhan Tasbolatov > wrote: > > > > This patch series unifies the kasan_arch_is_ready() and kasan_enabled() > > interfaces by extending the existing kasan_enabled() infrastructure to > > work consistentl

Re: [PATCH v2 00/11] kasan: unify kasan_arch_is_ready with kasan_enabled

2025-06-28 Thread Christophe Leroy
Le 26/06/2025 à 17:31, Sabyrzhan Tasbolatov a écrit : This patch series unifies the kasan_arch_is_ready() and kasan_enabled() interfaces by extending the existing kasan_enabled() infrastructure to work consistently across all KASAN modes (Generic, SW_TAGS, HW_TAGS). Currently, kasan_enabled()

Re: [PATCH v2 00/11] kasan: unify kasan_arch_is_ready with kasan_enabled

2025-06-28 Thread Andrey Konovalov
On Thu, Jun 26, 2025 at 5:32 PM Sabyrzhan Tasbolatov wrote: > > This patch series unifies the kasan_arch_is_ready() and kasan_enabled() > interfaces by extending the existing kasan_enabled() infrastructure to > work consistently across all KASAN modes (Generic, SW_TAGS, HW_TAGS). > > Currently, ka