mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-26 15:32:30 +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:
parent
f02bb1a9cb
commit
2edbe389d8
@ -179,7 +179,7 @@ impl CgroupsResource {
|
|||||||
// All vCPU threads move to the sandbox controller.
|
// All vCPU threads move to the sandbox controller.
|
||||||
for tid in tids {
|
for tid in tids {
|
||||||
self.cgroup_manager
|
self.cgroup_manager
|
||||||
.add_task_by_tgid(CgroupPid { pid: *tid as u64 })?
|
.add_task(CgroupPid { pid: *tid as u64 })?
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
Loading…
Reference in New Issue
Block a user