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

Heiko Carstens hca at linux.ibm.com
Tue Jul 1 23:37:24 AEST 2025


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@gmail.com/#3537388
> . Feedback welcome.

Yes, removing the static branches during compile time is of course
even better.


More information about the Linuxppc-dev mailing list