summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-06-26 17:54:39 +0200
committerGitHub <noreply@github.com>2021-06-26 17:54:39 +0200
commite50f34959a6296382cdc16ae8d992dc8066925fa (patch)
tree8c530273d0c3a068a74c1484e8a38cf6d82a3db0 /pkgs/os-specific
parenteb1b47305f10ee2b3d71cb53f4a06ddd79b20b37 (diff)
parent4788060b46c090184520dbb936ac6bf45f21acfd (diff)
downloadnixpkgs-e50f34959a6296382cdc16ae8d992dc8066925fa.tar
nixpkgs-e50f34959a6296382cdc16ae8d992dc8066925fa.tar.gz
nixpkgs-e50f34959a6296382cdc16ae8d992dc8066925fa.tar.bz2
nixpkgs-e50f34959a6296382cdc16ae8d992dc8066925fa.tar.lz
nixpkgs-e50f34959a6296382cdc16ae8d992dc8066925fa.tar.xz
nixpkgs-e50f34959a6296382cdc16ae8d992dc8066925fa.tar.zst
nixpkgs-e50f34959a6296382cdc16ae8d992dc8066925fa.zip
Merge pull request #128007 from fortuneteller2k/preempt-xanmod
linux_xanmod: match features on homepage
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/kernel/linux-xanmod.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/linux-xanmod.nix b/pkgs/os-specific/linux/kernel/linux-xanmod.nix
index 3274b1aa20e..17e440f5bc6 100644
--- a/pkgs/os-specific/linux/kernel/linux-xanmod.nix
+++ b/pkgs/os-specific/linux/kernel/linux-xanmod.nix
@@ -15,6 +15,13 @@ buildLinux (args // rec {
     sha256 = "sha256-eFIWlguU1hnkAgTbRxSMTStq0X7XW4IT1/9XlQSgdMQ=";
   };
 
+  structuredExtraConfig = with lib.kernel; {
+    PREEMPT = lib.mkForce yes;
+    PREEMPT_VOLUNTARY = lib.mkForce no;
+    NO_HZ_FULL = yes;
+    HZ_500 = yes;
+  };
+
   extraMeta = {
     branch = "5.12-cacule";
     maintainers = with lib.maintainers; [ fortuneteller2k ];