kernel: enable static key

Enable static key (jump label) on all supported architectures. This
lowers overhead and stress on the branch prediction of the CPU and
generally makes the kernel faster.

Signed-off-by: Qingfang Deng <dqfext@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23073
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Qingfang Deng
2026-04-24 09:44:32 +08:00
committed by Hauke Mehrtens
parent c1959ded52
commit 3be02c118f
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -3017,7 +3017,9 @@ CONFIG_JFFS2_SUMMARY=y
# CONFIG_JME is not set
CONFIG_JOLIET=y
# CONFIG_JSA1212 is not set
# CONFIG_JUMP_LABEL is not set
CONFIG_JUMP_LABEL=y
CONFIG_JUMP_LABEL_FEATURE_CHECKS=y
# CONFIG_JUMP_LABEL_FEATURE_CHECK_DEBUG is not set
# CONFIG_JZ4740_WDT is not set
# CONFIG_KALLSYMS is not set
# CONFIG_KALLSYMS_ABSOLUTE_PERCPU is not set
+3 -1
View File
@@ -3139,7 +3139,9 @@ CONFIG_JFFS2_SUMMARY=y
# CONFIG_JME is not set
CONFIG_JOLIET=y
# CONFIG_JSA1212 is not set
# CONFIG_JUMP_LABEL is not set
CONFIG_JUMP_LABEL=y
CONFIG_JUMP_LABEL_FEATURE_CHECKS=y
# CONFIG_JUMP_LABEL_FEATURE_CHECK_DEBUG is not set
# CONFIG_JZ4740_WDT is not set
# CONFIG_KALLSYMS is not set
# CONFIG_KALLSYMS_ABSOLUTE_PERCPU is not set