From 04f42ae83a75c3943d0242cec775121dade9d2f1 Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Tue, 13 Feb 2024 17:17:08 +0100 Subject: [PATCH] Always default to PREEMPT. Arch tends to set voluntary preemption when moving kernels to LTS, which we don't want as default. Fixes https://github.com/Frogging-Family/linux-tkg/issues/877 --- linux-tkg-config/prepare | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index 10f1190..91e8c51 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -954,6 +954,10 @@ _tkg_srcprep() { _disable "CPU_FREQ_DEFAULT_GOV_ONDEMAND" "CPU_FREQ_DEFAULT_GOV_CONSERVATIVE" "CPU_FREQ_DEFAULT_GOV_PERFORMANCE" "CPU_FREQ_DEFAULT_GOV_PERFORMANCE_NODEF" _module "BLK_DEV_LOOP" + # Arch tends to set voluntary preemption when moving kernels to LTS, which we don't want as default + _disable "PREEMPT_VOLUNTARY" + _enable "PREEMPT" + # This leads to all kinds of issues everytime Arch enables it in defconfig. Let's disable it and be happy. _disable "SYSFB_SIMPLEFB"