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

[testing] #4327

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

[testing] #4327

wants to merge 5 commits into from

Commits on Aug 16, 2024

  1. libct: simplify setIOPriority/setupScheduler calls

    Move the nil check to inside those functions, simplifying the callers.
    
    Signed-off-by: Kir Kolyshkin <[email protected]>
    kolyshkin committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    0aeca24 View commit details
    Browse the repository at this point in the history
  2. utils: simplify newProcess

    This code is not in libcontainer, IOW it is only used by a short lived
    binary (runc start/run/exec). Unlike libcontainer code, here we don't have
    to care about copying the structures supplied as input, meaning we can
    just reuse the pointers directly.
    
    Signed-off-by: Kir Kolyshkin <[email protected]>
    kolyshkin committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    cc91030 View commit details
    Browse the repository at this point in the history
  3. libct: unify IOPriority setting

    For some reason, io priority is set in different places between runc
    start/run and runc exec (it is done much earlier for the latter).
    
    Let's unify the code flow of start/run and exec.
    
    Signed-off-by: Kir Kolyshkin <[email protected]>
    kolyshkin committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    ffa9baf View commit details
    Browse the repository at this point in the history
  4. wip

    Signed-off-by: Kir Kolyshkin <[email protected]>
    kolyshkin committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    ed26953 View commit details
    Browse the repository at this point in the history
  5. runc exec: implement CPU affinity

    As per
     - opencontainers/runtime-spec#1253
     - opencontainers/runtime-spec#1261
    
    Add some tests (alas it's impossible to test initial CPU affinity
    without adding debug logging).
    
    Signed-off-by: Kir Kolyshkin <[email protected]>
    kolyshkin committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    a1856a5 View commit details
    Browse the repository at this point in the history