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

[WIP] Memory cgroup v2 #95

Closed
wants to merge 106 commits into from
Closed

[WIP] Memory cgroup v2 #95

wants to merge 106 commits into from

Conversation

tsturzl
Copy link
Collaborator

@tsturzl tsturzl commented Jun 18, 2021

This implements the memory cgroup v2 controller as part of ticket #78. It heavily tracks the behavior of the runc runtime. Due to lack of integrations test I tried to make the unit tests as encompassing as possible. Currently this is a work in progress until I find a way to reliably try it out.

tsturzl and others added 30 commits June 17, 2021 21:22
Add a test for applying CpuAcct.
Add cgroup v1 freezer controller
- should_use_rootless doesn't need Result type
- add warning regarding current rootless limitations
- make lookup_map_binary more concise
Experimental support for rootless containers
Reuse tmpdir implementation from cgroup
Add unit tests for tty module
Extend info cmd with version and os
Use `assert!` instead of `assert_eq!` when comparing a boolean.
nimrodshn and others added 27 commits July 10, 2021 21:04
fix the warnings shown by cargo clippy
Fix same tmp dir in freezer v2 tests
Document capabilities rs and refactor its drop_privileges function
@tsturzl
Copy link
Collaborator Author

tsturzl commented Jul 16, 2021

This PR is closed in favor of #141 which has a much cleaner history.

@tsturzl tsturzl closed this Jul 16, 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.

10 participants