From: Qingfang Deng Date: Fri, 24 Apr 2026 01:44:32 +0000 (+0800) Subject: kernel: enable static key X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3be02c118f0d;p=thirdparty%2Fopenwrt.git 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 Link: https://github.com/openwrt/openwrt/pull/23073 Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/generic/config-6.12 b/target/linux/generic/config-6.12 index fd4b90aa681..51b7dc79d8d 100644 --- a/target/linux/generic/config-6.12 +++ b/target/linux/generic/config-6.12 @@ -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 diff --git a/target/linux/generic/config-6.18 b/target/linux/generic/config-6.18 index fbc54c3d780..44578c1d731 100644 --- a/target/linux/generic/config-6.18 +++ b/target/linux/generic/config-6.18 @@ -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