nixpkgs-odroid-hc4/pkgs/os-specific/linux/kernel/cpu-cgroup-v2-patches
2025-12-20 09:59:59 +11:00
..
4.9.patch uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead 2025-12-20 09:59:59 +11:00
4.11.patch uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead 2025-12-20 09:59:59 +11:00
default.nix uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead 2025-12-20 09:59:59 +11:00
README.md uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead 2025-12-20 09:59:59 +11:00

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