]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
loongarch64: set PREEMPT_NONE as default preemption model
authorThomas Richard <thomas.richard@bootlin.com>
Wed, 21 Jan 2026 12:49:32 +0000 (13:49 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 24 Jan 2026 21:54:29 +0000 (22:54 +0100)
Loongarch64 currently uses the PREEMPT_VOLUNTARY model, which is not
aligned with OpenWrt's default. Switch to PREEMPT_NONE for consistency with
OpenWrt's default configuration. Preemption model selection is now
available via menuconfig for further customization.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://github.com/openwrt/openwrt/pull/21413
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/loongarch64/config-6.12

index c4fc987b6dcf85e79414f13a60d9a160b2a24e29..a68c91e3a82f4afe58c13ba50f852855396b66f6 100644 (file)
@@ -536,9 +536,6 @@ CONFIG_POSIX_MQUEUE_SYSCTL=y
 CONFIG_POWER_SUPPLY=y
 CONFIG_POWER_SUPPLY_HWMON=y
 CONFIG_PPS=y
-# CONFIG_PREEMPT_NONE is not set
-CONFIG_PREEMPT_VOLUNTARY=y
-CONFIG_PREEMPT_VOLUNTARY_BUILD=y
 CONFIG_PRINTK_TIME=y
 CONFIG_PROC_CHILDREN=y
 CONFIG_PROC_EVENTS=y