Module cgroups_rs::memory[][src]

This module contains the implementation of the memory cgroup subsystem.

See the Kernel’s documentation for more information about this subsystem, found at: Documentation/cgroup-v1/memory.txt

Structs

Kmem

Gathered statistics and the current state of limitation of the kernel’s memory usage. Note that this is per-cgroup, so the kernel can of course use more memory, but it will fail operations by these tasks if it would think that the limits here would be violated. It’s important to note that interrupts in particular might not be able to enforce these limits.

MemController

A controller that allows controlling the memory subsystem of a Cgroup.

MemSwap

Contains statistics about the current usage of memory and swap (together, not seperately) by the control group’s tasks.

Memory

State of and statistics gathered by the kernel about the memory usage of the control group’s tasks.

MemoryStat
NumaStat

Contains statistics about the NUMA locality of the control group’s tasks.

OomControl

Controls statistics and controls about the OOM killer operating in this control group.

SetMemory
Tcp

The current state of and gathered statistics about the kernel’s memory usage for TCP-related data structures.