x86: Deactivate kernel options with extra overhead
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 24 Nov 2024 13:39:57 +0000 (14:39 +0100)
committerPetr Štetiar <ynezz@true.cz>
Thu, 28 Nov 2024 18:49:17 +0000 (18:49 +0000)
commit005f0867524ff26e62167b1c71208dd05f33cfb5
treef88d4f15fe2e0034e7d9d01d1eb633085df5e6d9
parent4779e954fa847c4b376623bc3bdf9651007e8a89
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@hauke-m.de>
(cherry picked from commit ed523454454965da07c9c7a009ae0a3995aa7c33)
Link: https://github.com/openwrt/openwrt/pull/17097
Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/x86/config-6.6