Integrated: 8253727: [cgroups v2] Memory and swap limits reported incorrectly
Severin Gehwolf
sgehwolf at openjdk.java.net
Thu Oct 1 09:32:00 UTC 2020
On Mon, 28 Sep 2020 17:22:21 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
> 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.
>
> Testing: Container tests on Linux x86_64 on cgroups v2 with crun 0.15
This pull request has now been integrated.
Changeset: 3e96721c
Author: Severin Gehwolf <sgehwolf at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/3e96721c
Stats: 47 lines in 3 files changed: 42 ins; 0 del; 5 mod
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
-------------
PR: https://git.openjdk.java.net/jdk/pull/384
More information about the core-libs-dev
mailing list