-
Notifications
You must be signed in to change notification settings - Fork 61
support adding process to subsystem subset optionally in cgroup v1 #95
Description
Is your feature request related to a problem? Please describe.
In some scenes, we want to add kata overhead processes and task only to certain subsystems in cgroup v1.
For example, if hugepages is applied to vmm, we should put all threads into sandbox resource controller, even though sandbox_cgroup_only is false. When vmm startups, it cannot ensure that only vcpu thread uses the specified hugepages. So, we should constrain the entire vmm process not only vcpu thread in hugetlb subsystem.
Describe the solution you'd like
To satisfy the requirement that moving a process and task to the specified cgroup subsystems and leaving it in another cgroup for other subsystems, we should add optionally process and task to specifiled subsystems subset.