From 44c429ed451c138fb170e85cd63aa4e89e9d7ed6 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 23 Dec 2017 09:07:00 +0100 Subject: [PATCH] cgroups.7: Add list of currently available version 2 controllers Signed-off-by: Michael Kerrisk --- man7/cgroups.7 | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/man7/cgroups.7 b/man7/cgroups.7 index 35e220385..4402926b1 100644 --- a/man7/cgroups.7 +++ b/man7/cgroups.7 @@ -521,6 +521,43 @@ via a mount against a cgroup v1 hierarchy. Or, to put things another way, it is not possible to employ the same controller against both a v1 hierarchy and the unified v2 hierarchy. .\" +.SS Cgroups v2 controllers +The following controllers, documented in the kernel source file +.IR Documentation/cgroup-v2.txt , +are supported in cgroups version 2: +.TP +.IR io " (since Linux 4.5)" +This is the successor of the version 1 +.I blkio +controller. +.TP +.IR memory " (since Linux 4.5)" +This is the successor of the version 1 +.I memory +controller. +.TP +.IR pids " (since Linux 4.5)" +This is the same as the version 1 +.I pids +controller. +.TP +.IR perf_event " (since Linux 4.11)" +This is the same as the the version 1 +.I perf_event +controller. +.TP +.IR rdma " (since Linux 4.11)" +This is the same as the version 1 +.I rdma +controller. +.TP +.IR cpu " (since Linux 4.15)" +This is the successor to the version 1 +.I cpu +and +.I cpuacct +controllers. +.\" .SS Cgroups v2 """no internal processes""" rule With the exception of the root cgroup, processes may reside only in leaf nodes (cgroups that do not themselves contain child cgroups).