Merge pull request #5761 from gaohuatao-1/ght_overhead

runtime-rs: moving only vCPU threads into sandbox controller
This commit is contained in:
Bin Liu
2022-11-29 13:53:01 +08:00
committed by GitHub

View File

@@ -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(())