Re: [PATCH v2 1/2] arm64: kasan: do not instrument stacktrace.c
From: Will Deacon
Date: Thu Jun 23 2022 - 15:41:26 EST
On Mon, 23 May 2022 16:51:51 +0200, andrey.konovalov@xxxxxxxxx wrote:
> From: Andrey Konovalov <andreyknvl@xxxxxxxxxx>
>
> Disable KASAN instrumentation of arch/arm64/kernel/stacktrace.c.
>
> This speeds up Generic KASAN by 5-20%.
>
> As a side-effect, KASAN is now unable to detect bugs in the stack trace
> collection code. This is taken as an acceptable downside.
>
> [...]
Applied to arm64 (for-next/stacktrace), thanks! I had to fix conflicts
in both of the patches, so please can you take a quick look at the result?
[1/2] arm64: kasan: do not instrument stacktrace.c
https://git.kernel.org/arm64/c/802b91118d11
[2/2] arm64: stacktrace: use non-atomic __set_bit
https://git.kernel.org/arm64/c/446297b28a21
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev