Files
runc/libcontainer/cgroups/fs
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
..
2021-09-14 12:06:21 -07:00
2021-09-14 12:06:21 -07:00
2021-09-14 12:06:21 -07:00
2021-09-14 12:06:21 -07:00
2021-09-14 12:06:21 -07:00
2021-09-14 12:06:21 -07:00
2021-09-14 12:06:21 -07:00
2021-06-22 11:59:54 -07:00
2021-09-14 12:06:21 -07:00
2021-09-14 12:06:21 -07:00
2023-10-20 11:44:36 -07:00
2023-10-20 11:44:36 -07:00
2021-09-14 12:06:21 -07:00
2021-09-14 12:06:21 -07:00
2021-09-14 12:06:21 -07:00
2021-09-14 12:06:21 -07:00
2021-09-14 12:06:21 -07:00
2021-09-14 12:06:21 -07:00
2021-09-14 12:06:21 -07:00
2021-09-14 12:06:21 -07:00
2021-09-14 12:06:21 -07:00
2021-09-14 12:06:21 -07:00
2021-09-14 12:06:21 -07:00