Add cgroup v2 support to coreclr by omajid · Pull Request #34334 · dotnet/runtime (original) (raw)

Upstream cgroup v2 documentation is available at: https://www.kernel.org/doc/Documentation/cgroup-v2.txt

Some notable differences between cgroup v1 and v2, from a coreclr point of view, include:

It is possible to have both cgroup v1 and v2 to both be enabled on a host (but not inside a container). In that case, this change will pick one, which may not be the correct one. We should be able to find the right one by checking the system configuration as described here.