devlib
devlib copied to clipboard
cgroup's Controller.move_tasks() API makes it difficult to implement CM
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 anincludeparameter to only affect the listed tasks