summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2023-09-20 09:26:29 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2023-09-20 09:26:29 +0300
commit99e5a2472a506d9dc6fe54863bf6c5b43bc25a97 (patch)
treea03b6bfc7ffc784f17822eea3425e0a424ebc0f3 /Documentation
parent2a86f1b56a30e242caf7ee1268af68f4f49ce847 (diff)
downloadlinux-99e5a2472a506d9dc6fe54863bf6c5b43bc25a97.tar.xz
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: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions