[openwrt/openwrt] x86: Deactivate kernel options with extra overhead
LEDE Commits
lede-commits at lists.infradead.org
Sun Nov 24 11:04:37 PST 2024
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/ed523454454965da07c9c7a009ae0a3995aa7c33
commit ed523454454965da07c9c7a009ae0a3995aa7c33
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Nov 24 14:39:57 2024 +0100
x86: Deactivate kernel options with extra overhead
Deactivate CONFIG_CONTEXT_TRACKING_USER_FORCE: Force user context
tracking: This is a testing feature which should not be activate in
production environments according to the Kconfig help. It adds an extra
overhead.
Deactivate CONFIG_RCU_NOCB_CPU_DEFAULT_ALL: Offload RCU callback
processing from all CPUs by default: This option should only be used in
aggressive HPC or real-time workloads which we do not have in OpenWrt.
For normal workloads it increases the number of context switches.
In the default Arch Linux kernel both options are not activated.
Fixes: 31111680f6fc ("x86: switch config to a tickless kernel")
Link: https://github.com/openwrt/openwrt/pull/17057
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/x86/config-6.6 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/linux/x86/config-6.6 b/target/linux/x86/config-6.6
index b3d15bc104..c416bb6a08 100644
--- a/target/linux/x86/config-6.6
+++ b/target/linux/x86/config-6.6
@@ -46,7 +46,7 @@ CONFIG_COMPAT_32=y
CONFIG_COMPAT_32BIT_TIME=y
# CONFIG_COMPAT_VDSO is not set
CONFIG_CONSOLE_TRANSLATIONS=y
-CONFIG_CONTEXT_TRACKING_USER_FORCE=y
+# CONFIG_CONTEXT_TRACKING_USER_FORCE is not set
# CONFIG_CPU5_WDT is not set
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
@@ -334,7 +334,7 @@ CONFIG_PTP_1588_CLOCK_OPTIONAL=y
CONFIG_RANDSTRUCT_NONE=y
CONFIG_RATIONAL=y
CONFIG_RCU_LAZY=y
-CONFIG_RCU_NOCB_CPU_DEFAULT_ALL=y
+# CONFIG_RCU_NOCB_CPU_DEFAULT_ALL is not set
CONFIG_RD_BZIP2=y
CONFIG_RD_GZIP=y
CONFIG_RETHUNK=y
More information about the lede-commits
mailing list