Răsfoiți Sursa

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/17575
Signed-off-by: Robert Marko <[email protected]>
(cherry picked from commit 1c178f364454c5b73eb453fa0b101ae2f6454d4c)
Kien Truong 9 luni în urmă
părinte
comite
e9d80cdb6c
1 a modificat fișierele cu 1 adăugiri și 6 ștergeri
  1. 1 6
      target/linux/rockchip/armv8/config-6.6

+ 1 - 6
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