api,adaptation,generate: allow setting kernel scheduling policy attributes.#160
Merged
mikebrow merged 2 commits intocontainerd:mainfrom Dec 3, 2025
Merged
Conversation
e81249c to
a3c9e02
Compare
43cf40f to
237b6dc
Compare
75064ad to
bc46504
Compare
bc46504 to
26674c5
Compare
26674c5 to
653fae6
Compare
Member
Author
@mikebrow Rebased and pushed. |
Member
|
once more to rebase/merge in #135 changes |
653fae6 to
a231512
Compare
Member
Author
Rebased and updated. |
chrishenzie
approved these changes
Sep 22, 2025
a231512 to
2749cb5
Compare
2749cb5 to
d591be8
Compare
d591be8 to
4227dd4
Compare
Allow setting/resetting container linux scheduler attributes. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
4227dd4 to
6a371ac
Compare
Member
Author
|
@mikebrow Rebased on latest HEAD, to make it mergable again. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allow plugins to set container kernel scheduling policy attributes.
This is the corresponding Process.Scheduler OCI Spec field this PR allows adjusting: https://github.com/opencontainers/runtime-spec/blob/524fc0e1b8ab0180e2fc9abd31837a0f4ed1fd6b/specs-go/config.go#L92
This is how Scheduler is defined in the OCI Spec: https://github.com/opencontainers/runtime-spec/blob/524fc0e1b8ab0180e2fc9abd31837a0f4ed1fd6b/specs-go/config.go#L38
And here are the related scheduler policy and flag definitions: https://github.com/opencontainers/runtime-spec/blob/524fc0e1b8ab0180e2fc9abd31837a0f4ed1fd6b/specs-go/config.go#L880
The related NRI types are all straightforward protobuf defined message representations of the corresponding OCI Spec types.