[openwrt/openwrt] loongarch64: set PREEMPT_NONE as default preemption model

LEDE Commits lede-commits at lists.infradead.org
Sat Jan 24 13:56:23 PST 2026


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/2530c99981db4a9015a9f9e4b3754be4dec78c90

commit 2530c99981db4a9015a9f9e4b3754be4dec78c90
Author: Thomas Richard <thomas.richard at bootlin.com>
AuthorDate: Wed Jan 21 13:49:32 2026 +0100

    loongarch64: set PREEMPT_NONE as default preemption model
    
    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 at bootlin.com>
    Link: https://github.com/openwrt/openwrt/pull/21413
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/loongarch64/config-6.12 | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/target/linux/loongarch64/config-6.12 b/target/linux/loongarch64/config-6.12
index c4fc987b6d..a68c91e3a8 100644
--- a/target/linux/loongarch64/config-6.12
+++ b/target/linux/loongarch64/config-6.12
@@ -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




More information about the lede-commits mailing list