]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
kernel: enable static key 23073/head
authorQingfang Deng <dqfext@gmail.com>
Fri, 24 Apr 2026 01:44:32 +0000 (09:44 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 9 May 2026 12:51:01 +0000 (14:51 +0200)
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>
target/linux/generic/config-6.12
target/linux/generic/config-6.18

index fd4b90aa681dd0fed8829f0ba513d1a6bcce256d..51b7dc79d8de20b4bec6ece3f9ed4b886902a364 100644 (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
index fbc54c3d780eb5ba61821f7fe3e5b0a6653a9661..44578c1d731f09dd85a858d0f78546d8390432d7 100644 (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