Enable adjusting memory policy from NRI plugins#166
Open
askervin wants to merge 3 commits intocontainerd:mainfrom
Open
Enable adjusting memory policy from NRI plugins#166askervin wants to merge 3 commits intocontainerd:mainfrom
askervin wants to merge 3 commits intocontainerd:mainfrom
Conversation
klihub
reviewed
Apr 25, 2025
klihub
reviewed
Apr 25, 2025
klihub
reviewed
Apr 25, 2025
9374195 to
746b0ad
Compare
Member
|
@askervin We have now the necessary plumbing in place and tagged in runtime Spec and our NRI deps here updated accordingly. So in principle we could go forward with this PR, but I think it needs a bit more work/additions before we can seriously consider it for merging:
|
Member
|
@mikebrow @chrishenzie Could we give this a preliminary review, so if there is anything beside the ones already flagged we could try pointing them out and get them addressed in the same round ? |
700c9ff to
c2ace9f
Compare
Signed-off-by: Antti Kervinen <antti.kervinen@intel.com>
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
chrishenzie
reviewed
Dec 10, 2025
Add support for adjusting container linux memory policy based on annotations. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
38cddf5 to
ad3de7d
Compare
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.
This PR implements
See set_mempolicy(2) for more details about Linux kernel memory policies.
This PR can be tested using
with something like this