mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-01 17:06:28 +00:00
runtime-rs: moving only vCPU threads into sandbox controller
when overhead controller exists, just contrain vCPU threads in sandbox controller Fixes:#5760 Signed-off-by: gaohuatao <gaohuatao@bytedance.com>
This commit is contained in:
@@ -179,7 +179,7 @@ impl CgroupsResource {
|
||||
// All vCPU threads move to the sandbox controller.
|
||||
for tid in tids {
|
||||
self.cgroup_manager
|
||||
.add_task_by_tgid(CgroupPid { pid: *tid as u64 })?
|
||||
.add_task(CgroupPid { pid: *tid as u64 })?
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
Reference in New Issue
Block a user