From 1816d4b042aca613672bd7c219e2e1e66bc7161f Mon Sep 17 00:00:00 2001 From: keisku Date: Sun, 21 Jul 2024 00:56:59 +0000 Subject: [PATCH] update description of cpu_affinity_final Signed-off-by: keisku --- src/runtime/process.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/runtime/process.rs b/src/runtime/process.rs index 20d197a1c1..d9aafb311d 100644 --- a/src/runtime/process.rs +++ b/src/runtime/process.rs @@ -592,7 +592,8 @@ pub struct ExecCPUAffinity { )] /// cpu_affinity_final is a list of CPUs the process will be run on after the transition /// to container's cgroup. The format is the same as for `initial`. If omitted or empty, - /// the container's default CPU affinity, as defined by cpu.cpus property, is used. + /// runtime SHOULD NOT change process' CPU affinity after the process is moved to + /// container's cgroup, and the final affinity is determined by the Linux kernel. cpu_affinity_final: Option, }