-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Closed
Labels
area/cgroup2cgroup v2cgroup v2area/contribexp/intermediatekind/enhancementEnhancements are not bugs or new features but can improve usability or performance.Enhancements are not bugs or new features but can improve usability or performance.status/claimed
Description
#41869 added cgroup v2 support for contrib/check-config.sh, but it doesn't verify available controllers currently.
We need to verify that
- availability of
cpu,cpuset,memory, andiocontrollers, by reading/sys/fs/cgroup/cgroup.controllersfile - availability of
BPF_CGROUP_DEVICEsupport, probably by checking that kernel >= 4.15 &&CONFIG_CGROUP_BPF. This is an essential requirement for rootful mode. - availability of freezer, probably by checking the existence of
cgroup.freezerfile. This requires kernel >= 5.2 and is optional.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/cgroup2cgroup v2cgroup v2area/contribexp/intermediatekind/enhancementEnhancements are not bugs or new features but can improve usability or performance.Enhancements are not bugs or new features but can improve usability or performance.status/claimed