summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/xanmod-kernels.nix
diff options
context:
space:
mode:
authorfortuneteller2k <lythe1107@gmail.com>2022-11-01 05:49:18 +0000
committerfortuneteller2k <lythe1107@gmail.com>2022-11-01 05:49:18 +0000
commit0b7786987ae955362ec83a3dc017f4eda9afa7b6 (patch)
treefd2f14237f623e9e19fb41ccccb0ce21ac7cbb66 /pkgs/os-specific/linux/kernel/xanmod-kernels.nix
parentec9b92c9f12f164af6edbd6cdadb1fa6822da637 (diff)
downloadnixpkgs-0b7786987ae955362ec83a3dc017f4eda9afa7b6.tar
nixpkgs-0b7786987ae955362ec83a3dc017f4eda9afa7b6.tar.gz
nixpkgs-0b7786987ae955362ec83a3dc017f4eda9afa7b6.tar.bz2
nixpkgs-0b7786987ae955362ec83a3dc017f4eda9afa7b6.tar.lz
nixpkgs-0b7786987ae955362ec83a3dc017f4eda9afa7b6.tar.xz
nixpkgs-0b7786987ae955362ec83a3dc017f4eda9afa7b6.tar.zst
nixpkgs-0b7786987ae955362ec83a3dc017f4eda9afa7b6.zip
linux_xanmod: add additional kconfig options
Diffstat (limited to 'pkgs/os-specific/linux/kernel/xanmod-kernels.nix')
-rw-r--r--pkgs/os-specific/linux/kernel/xanmod-kernels.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix
index d4c31e555f4..2ac516175f0 100644
--- a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix
+++ b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix
@@ -33,6 +33,10 @@ let
       TCP_CONG_BBR2 = yes;
       DEFAULT_BBR2 = yes;
 
+      # Google's Multigenerational LRU framework
+      LRU_GEN = yes;
+      LRU_GEN_ENABLED = yes;
+
       # FQ-PIE Packet Scheduling
       NET_SCH_DEFAULT = yes;
       DEFAULT_FQ_PIE = yes;
@@ -43,6 +47,11 @@ let
 
       # WineSync driver for fast kernel-backed Wine
       WINESYNC = module;
+
+      # Preemptive Full Tickless Kernel at 500Hz
+      HZ = freeform "500";
+      HZ_500 = yes;
+      HZ_1000 = no;
     };
 
     extraMeta = {