fn read_v1_memory_limit(
cgroups: &[CgroupEntry],
mounts: &[Mountinfo],
) -> Option<MemoryLimit>Available on Linux only.
Expand description
Finds the cgroup v1 and mountpoint combination containing the memory controller, and reads the memory limits within.