Function mz_ore::cgroup::read_v2_memory_limit
source · [−]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.