Files
runc/libcontainer/cgroups/fs2
Heran Yang 87792ce02c libct/cg: add swapOnlyUsage in MemoryStats
This field reports swap-only usage. For cgroupv1, `Usage` and `Failcnt`
are set by subtracting memory usage from memory+swap usage. For cgroupv2,
`Usage`, `Limit`, and `MaxUsage` are set. This commit also export `MaxUsage`
of memory under cgroupv2 mode, using `memory.peak` introduced in kernel 5.19.

Signed-off-by: Heran Yang <heran55@126.com>
(cherry picked from commit 104b8dc951)
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2023-12-12 11:42:09 -05:00
..
2020-10-01 18:36:56 +02:00
2021-09-23 09:12:14 -07:00
2023-10-20 11:44:36 -07:00
2021-10-14 13:46:02 -07:00