Skip to content

Commit

Permalink
update description of cpu_affinity_final
Browse files Browse the repository at this point in the history
Signed-off-by: keisku <[email protected]>
  • Loading branch information
keisku authored and utam0k committed Sep 6, 2024
1 parent 0885c5f commit 765bbc8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/runtime/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>,
}

Expand Down

0 comments on commit 765bbc8

Please sign in to comment.