Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cgroups: fix memory usage on cgroup v1
calculate the memory usage on cgroup v1 using the same logic as cgroup v2. Since there is no single "anon" field, calculate the memory usage by summing the two fields "total_active_anon" and "total_inactive_anon". Closes: #1642 Closes: https://issues.redhat.com/browse/RHEL-16376 [NO NEW TESTS NEEDED] Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> (cherry picked from commit 1a9d45c)
- Loading branch information