Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for cgroup v2 controllers #233

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

ToroNZ
Copy link

@ToroNZ ToroNZ commented Jan 23, 2025

Update cgroup pre-check task

Summary

Due to updates in the kernel =>6.12, cpuset does not show up anymore under /proc/cgroups. This PR updates the location for the pre-check to check on the cgroup controllers available instead.

Issue type

  • Bugfix

Test instructions

Ran manual tests under kernel v6.12:

$ uname -r
6.12.7-200.fc41.x86_64
$ grep -E "memory" /sys/fs/cgroup/cgroup.controllers
cpuset cpu io memory hugetlb pids rdma misc

Ran manual tests under kernel v6.11:

$ uname -r
6.11.11-300.fc41.x86_64
$ grep -E "memory" /sys/fs/cgroup/cgroup.controllers
cpuset cpu io memory hugetlb pids rdma misc

Also ran test on Arch Linux kernel 6.12:

$ uname -r
6.12.9-arch1-1
$ grep -E "memory" /sys/fs/cgroup/cgroup.controllers
cpuset cpu io memory hugetlb pids rdma misc

Additional Information

Fixes #232

This was referenced Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cgroup pre-checks do not support cgroups v2
1 participant