[jdk11u-dev] RFR: 8253727: [cgroups v2] Memory and swap limits reported incorrectly [v3]
Severin Gehwolf
sgehwolf at openjdk.java.net
Wed Mar 23 13:30:52 UTC 2022
> Backport JDK-8253727 to 11u-dev. Depends on #863.
>
> Testing: container tests on a cgroups v2 system
Severin Gehwolf has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains one commit:
8253727: [cgroups v2] Memory and swap limits reported incorrectly
Account for interface files for swap and memory being reported independently.
The cgroup v1-like value is now reported by adding the memory.max value to
the memory.swap.max value, and memory.current and memory.swap.current
respectively.
Reviewed-by: bobv, shade
-------------
Changes: https://git.openjdk.java.net/jdk11u-dev/pull/894/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=894&range=02
Stats: 47 lines in 3 files changed: 42 ins; 0 del; 5 mod
Patch: https://git.openjdk.java.net/jdk11u-dev/pull/894.diff
Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/894/head:pull/894
PR: https://git.openjdk.java.net/jdk11u-dev/pull/894
More information about the jdk-updates-dev
mailing list