mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Revert "Set temporary single CPU affinity..."
There's too much logic here figuring out which CPUs to use. Runc is a
low level tool and is not supposed to be that "smart". What's worse,
this logic is executed on every exec, making it slower. Some of the
logic in (*setnsProcess).start is executed even if no annotation is set,
thus making ALL execs slow.
Also, this should be a property of a process, rather than annotation.
The plan is to rework this.
This reverts commit afc23e3397.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
@@ -68,7 +68,6 @@ var featuresCommand = cli.Command{
|
||||
"bundle",
|
||||
"org.systemd.property.", // prefix form
|
||||
"org.criu.config",
|
||||
"org.opencontainers.runc.exec.isolated-cpu-affinity-transition",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user