config/hosts/jericho/extras/kernel-clr.nix

30 lines
1 KiB
Nix
Raw Normal View History

2022-02-05 21:42:36 +02:00
{ pkgs, inputs, ... }:
{
boot.kernelPatches = let
pickPatch = x: "${inputs.kernel-clr}/${x}";
patchFiles = map pickPatch [
"0104-pci-pme-wakeups.patch"
2022-05-30 22:10:41 +03:00
"0105-ksm-wakeups.patch"
2022-02-05 21:42:36 +02:00
"0108-smpboot-reuse-timer-calibration.patch"
"0111-ipv4-tcp-allow-the-memory-tuning-for-tcp-to-go-a-lit.patch"
2022-07-02 05:01:54 +03:00
"0112-init-wait-for-partition-and-retry-scan.patch"
2022-02-05 21:42:36 +02:00
"0118-add-scheduler-turbo3-patch.patch"
"0119-use-lfence-instead-of-rep-and-nop.patch"
"0120-do-accept-in-LIFO-order-for-cache-efficiency.patch"
"0121-locking-rwsem-spin-faster.patch"
2022-05-30 22:10:41 +03:00
"0128-itmt_epb-use-epb-to-scale-itmt.patch"
"0130-itmt2-ADL-fixes.patch"
"0131-add-a-per-cpu-minimum-high-watermark-an-tune-batch-s.patch"
"0133-novector.patch"
2022-07-02 05:01:54 +03:00
"scale.patch"
2022-02-05 21:42:36 +02:00
];
patches = map builtins.readFile patchFiles;
patchSet = builtins.concatStringsSep "\n" patches;
patch = pkgs.writeText "kernel-clr-combined.patch" patchSet;
in [{
inherit patch;
name = "Clear Linux* patchset";
}];
}