Skip to content

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

@gaohuatao-1

Description

@gaohuatao-1

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions