depot/third_party/nixpkgs/pkgs/os-specific/linux/kernel/cpu-cgroup-v2-patches
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00
..
4.11.patch Project import generated by Copybara. 2022-06-16 19:23:12 +02:00
default.nix Project import generated by Copybara. 2020-04-24 19:36:52 -04:00
README.md Project import generated by Copybara. 2022-06-16 19:23:12 +02: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