diff options
author | Bernardo Meurer <bernardo@meurer.org> | 2022-11-01 11:55:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 11:55:36 +0000 |
commit | 8fc819a6017145fa1c1e16eddbed4ef090520859 (patch) | |
tree | 3f3a61a3495d59700f713f65c231bc7893387eef | |
parent | e0cec52d57ddb0b3ba2f2ad980facd0b65677856 (diff) | |
parent | 83d02e230fb0bc2a9695a2beae63bd8d486d888e (diff) | |
download | nixpkgs-8fc819a6017145fa1c1e16eddbed4ef090520859.tar nixpkgs-8fc819a6017145fa1c1e16eddbed4ef090520859.tar.gz nixpkgs-8fc819a6017145fa1c1e16eddbed4ef090520859.tar.bz2 nixpkgs-8fc819a6017145fa1c1e16eddbed4ef090520859.tar.lz nixpkgs-8fc819a6017145fa1c1e16eddbed4ef090520859.tar.xz nixpkgs-8fc819a6017145fa1c1e16eddbed4ef090520859.tar.zst nixpkgs-8fc819a6017145fa1c1e16eddbed4ef090520859.zip |
Merge pull request #198818 from fortuneteller2k/xanmod
-rw-r--r-- | pkgs/os-specific/linux/kernel/xanmod-kernels.nix | 44 | ||||
-rw-r--r-- | pkgs/top-level/aliases.nix | 2 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 | ||||
-rw-r--r-- | pkgs/top-level/linux-kernels.nix | 8 |
4 files changed, 22 insertions, 34 deletions
diff --git a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix index 8ec761a701a..2ac516175f0 100644 --- a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix +++ b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix @@ -3,28 +3,15 @@ let # These names are how they are designated in https://xanmod.org. ltsVariant = { - version = "5.15.70"; - hash = "sha256-gMtGoj/HzMqd6Y3PSc6QTsu/PI7vfb+1pg4mt878cxs="; + version = "5.15.75"; + hash = "sha256-tgm5nmguEfRFq3OhmZgRgFLIW7E798Rv1basxnfdqLI="; variant = "lts"; }; - currentVariant = { - version = "5.19.13"; - hash = "sha256-BzQH4c24CtE3R5HNe2sOc3McVkRmf/RKOOjuf1W4YfE="; - variant = "current"; - }; - - nextVariant = { - version = "6.0.0"; - hash = "sha256-E7T8eHwMKYShv4KWdCbHQmpn+54edJoKdimZY3GFbPU="; - variant = "next"; - }; - - ttVariant = { - version = "5.15.54"; - suffix = "xanmod1-tt"; - hash = "sha256-4ck9PAFuIt/TxA/U+moGlVfCudJnzSuAw7ooFG3OJis="; - variant = "tt"; + mainVariant = { + version = "6.0.6"; + hash = "sha256-JMfAtiPDgoVF+ypeFXev06PL39ZM2H7m07IxpasjAoM="; + variant = "main"; }; xanmodKernelFor = { version, suffix ? "xanmod1", hash, variant }: buildLinux (args // rec { @@ -46,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; @@ -56,12 +47,11 @@ let # WineSync driver for fast kernel-backed Wine WINESYNC = module; - } // lib.optionalAttrs (variant == "tt") { - # removed options - CFS_BANDWIDTH = lib.mkForce (option no); - RT_GROUP_SCHED = lib.mkForce (option no); - SCHED_AUTOGROUP = lib.mkForce (option no); - SCHED_CORE = lib.mkForce (option no); + + # Preemptive Full Tickless Kernel at 500Hz + HZ = freeform "500"; + HZ_500 = yes; + HZ_1000 = no; }; extraMeta = { @@ -74,7 +64,5 @@ let in { lts = xanmodKernelFor ltsVariant; - current = xanmodKernelFor currentVariant; - next = xanmodKernelFor nextVariant; - tt = xanmodKernelFor ttVariant; + main = xanmodKernelFor mainVariant; } diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index ac16901e15b..81337dfb578 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -836,6 +836,8 @@ mapAliases ({ linux_rpi2 = linuxKernel.kernels.linux_rpi2; linux_rpi3 = linuxKernel.kernels.linux_rpi3; linux_rpi4 = linuxKernel.kernels.linux_rpi4; + linux_xanmod_tt = throw "linux_xanmod_tt was removed because upstream no longer offers this option"; # Added 2022-11-01 + linuxPackages_xanmod_tt = throw "linuxPackages_xanmod_tt was removed because upstream no longer offers this option"; # Added 2022-11-01 # Added 2020-04-04 linuxPackages_testing_hardened = throw "linuxPackages_testing_hardened has been removed, please use linuxPackages_latest_hardened"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cf837afad01..5bf8a409564 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25155,8 +25155,6 @@ with pkgs; linux_xanmod_stable = linuxKernel.kernels.linux_xanmod_stable; linuxPackages_xanmod_latest = linuxKernel.packages.linux_xanmod_latest; linux_xanmod_latest = linuxKernel.kernels.linux_xanmod_latest; - linuxPackages_xanmod_tt = linuxKernel.packages.linux_xanmod_tt; - linux_xanmod_tt = linuxKernel.kernels.linux_xanmod_tt; linux-doc = callPackage ../os-specific/linux/kernel/htmldocs.nix { }; diff --git a/pkgs/top-level/linux-kernels.nix b/pkgs/top-level/linux-kernels.nix index 766edb74b5e..9309e38c417 100644 --- a/pkgs/top-level/linux-kernels.nix +++ b/pkgs/top-level/linux-kernels.nix @@ -232,9 +232,9 @@ in { }; linux_xanmod = xanmodKernels.lts; - linux_xanmod_stable = xanmodKernels.current; - linux_xanmod_latest = xanmodKernels.next; - linux_xanmod_tt = xanmodKernels.tt; + linux_xanmod_stable = xanmodKernels.main; + linux_xanmod_latest = xanmodKernels.main; + linux_xanmod_tt = throw "linux_xanmod_tt was removed because upstream no longer offers this option"; linux_libre = deblobKernel packageAliases.linux_default.kernel; @@ -583,7 +583,7 @@ in { linux_xanmod = recurseIntoAttrs (packagesFor kernels.linux_xanmod); linux_xanmod_stable = recurseIntoAttrs (packagesFor kernels.linux_xanmod_stable); linux_xanmod_latest = recurseIntoAttrs (packagesFor kernels.linux_xanmod_latest); - linux_xanmod_tt = recurseIntoAttrs (packagesFor kernels.linux_xanmod_tt); + linux_xanmod_tt = throw "linux_xanmod_tt was removed because upstream no longer offers this option"; hardkernel_4_14 = recurseIntoAttrs (packagesFor kernels.linux_hardkernel_4_14); |