about summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorzzzsyyy <me@zzzsy.top>2024-04-15 08:20:31 +0800
committerzzzsyyy <me@zzzsy.top>2024-04-15 08:20:31 +0800
commitd6b6cc93c4292833767999f8ce818288de555408 (patch)
treebe3c422c1499e0bafde80c43d5b8cd575a1f7240 /pkgs/os-specific
parent5ebb9b551e889302b691f00291aef28f18e0586d (diff)
xanmod-kernels: change to full preemption
  follows the commit https://gitlab.com/xanmod/linux/-/commit/c92d295551c09eb16b0bc00a0ed9a06e8a206adc
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/kernel/xanmod-kernels.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix
index a512fdca8985b..c09f5c485e432 100644
--- a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix
+++ b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix
@@ -33,6 +33,10 @@ let
       CPU_FREQ_DEFAULT_GOV_PERFORMANCE = lib.mkOverride 60 yes;
       CPU_FREQ_DEFAULT_GOV_SCHEDUTIL = lib.mkOverride 60 no;
 
+      # Full preemption
+      PREEMPT = lib.mkOverride 60 yes;
+      PREEMPT_VOLUNTARY = lib.mkOverride 60 no;
+
       # Google's BBRv3 TCP congestion Control
       TCP_CONG_BBR = yes;
       DEFAULT_BBR = yes;