-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
8253714: [cgroups v2] Soft memory limit incorrectly using memory.high #381
Conversation
@bobvandette Could you please take a look? Thanks! |
👋 Welcome back sgehwolf! A progress list of the required criteria for merging this PR into |
Note that due to JDK-8253727 not all tests are passing with newer crun runtime (0.8 was last working for me). |
Webrevs
|
5d86d60
to
25d131d
Compare
All cgroups v2 container tests pass with #384 and this one on |
I just verified that using --memory-reservation using my crun version 0.11.42 does result in memory.low being set to the reservation value. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me, especially if Bob says it's ok.
@jerboaa This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for more details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 21 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
Thanks for the review, Andrew! |
/summary This bug has been fixed in later crun versions, starting with |
@jerboaa Setting summary to:
|
/integrate |
@jerboaa Since your change was applied there have been 21 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit ff6843c. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Tests using
--memory-reservation
started to fail with newercrun
cgroups v2-capable runtime. It turns out it was incorrectly settingmemory.high
in an early version and got fixed to setmemory.low
now instead. This change accounts for that.Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/381/head:pull/381
$ git checkout pull/381