Function ore::cgroup::read_v2_memory_limit [−][src]
fn read_v2_memory_limit(
cgroups: &[CgroupEntry],
mounts: &[Mountinfo]
) -> Option<MemoryLimit>
Expand description
Finds the mountpoint corresponding to the provided cgroup v2, and reads the memory limits within.