Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Documentation/admin-guide/cgroup-v2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2524,6 +2524,22 @@ Miscellaneous controller provides 3 interface files. If two misc resources (res_
The number of times the cgroup's resource usage was
about to go over the max boundary.

DMEM
----

The "dmem" controller regulates device memory (such as GPU VRAM)
consumption. The controller is similar to the memory controller
but tracks device-specific memory rather than system RAM.

dmem.min, dmem.low, and dmem.max
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

dmem.min and dmem.low define minimum and best-effort protection
for device memory, similar to memory.min and memory.low for RAM.
dmem.max sets a hard limit on device memory usage.

The interface is available at /sys/fs/cgroup/<cgroup>/dmem.{min,low,max}.

Migration and Ownership
~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
Loading
Loading