From 1c178f364454c5b73eb453fa0b101ae2f6454d4c Mon Sep 17 00:00:00 2001 From: Kien Truong Date: Sat, 11 Jan 2025 12:20:12 +0700 Subject: [PATCH] rockchip: disable kernel preemption This setting is more suitable for device running OpenWRT. Most OpenWRT targets are already default to this configuration, and it has shown better performance in VPN (wireguard). Fix: #17454 Signed-off-by: Kien Truong Link: https://github.com/openwrt/openwrt/pull/17575 Signed-off-by: Robert Marko --- target/linux/rockchip/armv8/config-6.6 | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/target/linux/rockchip/armv8/config-6.6 b/target/linux/rockchip/armv8/config-6.6 index 56fb2f96a14..68eed3e5f9b 100644 --- a/target/linux/rockchip/armv8/config-6.6 +++ b/target/linux/rockchip/armv8/config-6.6 @@ -530,12 +530,7 @@ CONFIG_POWER_RESET=y CONFIG_POWER_SUPPLY=y CONFIG_POWER_SUPPLY_HWMON=y CONFIG_PPS=y -CONFIG_PREEMPT=y -CONFIG_PREEMPTION=y -CONFIG_PREEMPT_BUILD=y -CONFIG_PREEMPT_COUNT=y -# CONFIG_PREEMPT_NONE is not set -CONFIG_PREEMPT_RCU=y +CONFIG_PREEMPT_NONE_BUILD=y CONFIG_PRINTK_TIME=y CONFIG_PROC_PAGE_MONITOR=y CONFIG_PROC_VMCORE=y