mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-18 23:04:20 +01:00
Merge pull request #5761 from gaohuatao-1/ght_overhead
runtime-rs: moving only vCPU threads into sandbox controller
This commit is contained in:
@@ -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(())
|
||||||
|
|||||||
Reference in New Issue
Block a user