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

support adding process to subsystem subset optionally in cgroup v1 #95

Open
gaohuatao-1 opened this issue Nov 29, 2022 · 0 comments
Open

Comments

@gaohuatao-1
Copy link

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.

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

1 participant