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

cgroup's Controller.move_tasks() API makes it difficult to implement CM #565

Open
douglas-raillard-arm opened this issue Aug 16, 2021 · 0 comments

Comments

@douglas-raillard-arm
Copy link
Collaborator

douglas-raillard-arm commented Aug 16, 2021

In order to implement a context manager that would nest correctly, we would need:

  • cgroups.freeze() currently returns the non-frozen tasks. What would be needed is the opposite so that we can undo what have been done at this precise level.
  • cgroups.freeze() takes an exclude parameter. It would need to take an include parameter to only affect the listed tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants