Skip to content
Commit 99e5a247 authored by Huacai Chen's avatar Huacai Chen
Browse files

LoongArch: Don't inline kasan_mem_to_shadow()/kasan_shadow_to_mem()



As Linus suggested, kasan_mem_to_shadow()/kasan_shadow_to_mem() are not
performance-critical and too big to inline. This is simply wrong so just
define them out-of-line.

If they really need to be inlined in future, such as the objtool / SMAP
issue for X86, we should mark them __always_inline.

Suggested-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent 2a86f1b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment