Re: [PATCH v2 00/11] kasan: unify kasan_arch_is_ready with kasan_enabled
From: Heiko Carstens
Date: Tue Jul 01 2025 - 09:40:31 EST
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 https://patchwork.ozlabs.org/project/linuxppc-dev/cover/20250626153147.145312-1-snovitoll@xxxxxxxxx/#3537388
> . Feedback welcome.
Yes, removing the static branches during compile time is of course
even better.