Skip to content

Commit 5036443

Browse files
committed
deepin: arm64: entry: inline cortex_a76_erratum_1463225_svc_handler
deepin inclusion category: performance enable CONFIG_ARM64_ERRATUM_1463225 causes 4% in noaffected cpu unixbench syscall test, before we decide to disable it, test inline it bring up ~1%, cortex_a76_erratum_1463225_debug_handler had been inlined, so it should not bring any functional change. Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
1 parent c075a7c commit 5036443

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm64/kernel/entry-common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ asmlinkage void noinstr el##_##regsize##_##vector##_handler(struct pt_regs *regs
312312
#ifdef CONFIG_ARM64_ERRATUM_1463225
313313
static DEFINE_PER_CPU(int, __in_cortex_a76_erratum_1463225_wa);
314314

315-
static void cortex_a76_erratum_1463225_svc_handler(void)
315+
static __always_inline void cortex_a76_erratum_1463225_svc_handler(void)
316316
{
317317
u32 reg, val;
318318

0 commit comments

Comments
 (0)