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

Conversation

kolyshkin
Copy link
Contributor

No description provided.

Move the nil check to inside those functions, simplifying the callers.

Signed-off-by: Kir Kolyshkin <[email protected]>
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]>
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]>
Signed-off-by: Kir Kolyshkin <[email protected]>
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant