Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Set temporary single CPU affinity before cgroup cpuset transition" #4283

Merged
merged 1 commit into from
Jun 9, 2024

Commits on Jun 9, 2024

  1. 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 afc23e3.
    
    Signed-off-by: Kir Kolyshkin <[email protected]>
    kolyshkin authored and lifubang committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    1c505ff View commit details
    Browse the repository at this point in the history