summaryrefslogtreecommitdiffstats
path: root/src/basic/cgroup-util.c
diff options
context:
space:
mode:
authorPavel Hrdina <phrdina@redhat.com>2019-09-10 09:09:46 +0200
committerPavel Hrdina <phrdina@redhat.com>2019-09-24 15:16:11 +0200
commit1fbbb526eeadc2362a95470de852ecb6589beaea (patch)
tree57deda8112ecd7e6e55b933335c13de851ee2f7c /src/basic/cgroup-util.c
parentcgroup: introduce support for cgroup v2 CPUSET controller (diff)
downloadsystemd-1fbbb526eeadc2362a95470de852ecb6589beaea.tar.xz
systemd-1fbbb526eeadc2362a95470de852ecb6589beaea.zip
cgroup-util: fix obsolete comment about supported controllers
The list might grow so make the comment more generic to not worry about it if some controller is implemented.
Diffstat (limited to '')
-rw-r--r--src/basic/cgroup-util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/basic/cgroup-util.c b/src/basic/cgroup-util.c
index 80ec264261..2a359a6063 100644
--- a/src/basic/cgroup-util.c
+++ b/src/basic/cgroup-util.c
@@ -2435,8 +2435,7 @@ int cg_mask_supported(CGroupMask *ret) {
if (r < 0)
return r;
- /* Currently, we support the cpu, memory, io and pids controller in the unified hierarchy, mask
- * everything else off. */
+ /* Mask controllers that are not supported in unified hierarchy. */
mask &= CGROUP_MASK_V2;
} else {