rockchip: disable kernel preemption
authorKien Truong <duckientruong@gmail.com>
Sat, 11 Jan 2025 05:20:12 +0000 (12:20 +0700)
committerRobert Marko <robimarko@gmail.com>
Sun, 12 Jan 2025 12:34:28 +0000 (13:34 +0100)
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 <duckientruong@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17575
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 1c178f364454c5b73eb453fa0b101ae2f6454d4c)

target/linux/rockchip/armv8/config-6.6

index 56fb2f96a14c02e0d6c5b4068d0fe9e128922da4..68eed3e5f9b332865809cf5dc6b027e6ea94dc85 100644 (file)
@@ -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