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

Extend info cmd with status of cgroup controllers #286

Merged
merged 3 commits into from
Sep 13, 2021

Conversation

Furisto
Copy link
Collaborator

@Furisto Furisto commented Sep 9, 2021

This adds which controllers are attached to the cgroup v2 hierarchy. For devices I just check if it is possible to attach epbf programs to a cgroup. I also moved the freezer controller to pseudo controllers. While contrary to devices and unified, this is a real subsystem it is also quite different from the other controllers. More importantly you cannot read it from cgroup.controllers, nor write it to subtree_control which was one of the original motivations for introducing this distinction.

@Furisto
Copy link
Collaborator Author

Furisto commented Sep 9, 2021

We should hold this off until the upgrade to the new oci-spec release is completed.

@codecov-commenter
Copy link

Codecov Report

Merging #286 (0b124b0) into main (dc7b04a) will increase coverage by 0.05%.
The diff coverage is 28.94%.

@@            Coverage Diff             @@
##             main     #286      +/-   ##
==========================================
+ Coverage   69.73%   69.79%   +0.05%     
==========================================
  Files          46       46              
  Lines        5687     5688       +1     
==========================================
+ Hits         3966     3970       +4     
+ Misses       1721     1718       -3     

@utam0k
Copy link
Member

utam0k commented Sep 9, 2021

We should hold this off until the upgrade to the new oci-spec release is completed.

I agree with you.

@Furisto
Copy link
Collaborator Author

Furisto commented Sep 12, 2021

@utam0k PTAL

Copy link
Member

@utam0k utam0k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool

@utam0k utam0k merged commit 8923a98 into youki-dev:main Sep 13, 2021
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.

3 participants