mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
8d9133c67d
Support will be dropped on 01 Jan 2023[1]. Normally we'd keep it around until then, but considering that it's an LTS kernel it may be better to do it before 22.11 to make sure there are no unpleasant surprises. Closes #199933 [1] https://endoflife.date/linux |
||
---|---|---|
.. | ||
4.11.patch | ||
default.nix | ||
README.md |
Patches for CPU Controller on Control Group v2
See Tejun Heo's explanation for why these patches are currently out-of-tree.
Generating the patches
In a linux checkout, with remote tc-cgroup pointing to
git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git, your
nixpkgs checkout in the same directory as your linux checkout (or
modify the command accordingly), and setting ver
to the appropriate
version:
$ ver=4.7
$ git log --reverse --patch v$ver..remotes/tc-cgroup/cgroup-v2-cpu-v$ver > ../nixpkgs/pkgs/os-specific/linux/kernel/cpu-cgroup-v2-patches/$ver.patch