From 7983199ec7479c61d5a16d5a21652a54cc94a1f4 Mon Sep 17 00:00:00 2001 From: Tomasz Duda Date: Wed, 6 Nov 2024 19:05:04 +0100 Subject: [PATCH] update comment Signed-off-by: Tomasz Duda --- libcontainer/cgroups/fs/cpuset.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libcontainer/cgroups/fs/cpuset.go b/libcontainer/cgroups/fs/cpuset.go index 7d499fe4b3e..04d1cffeb4d 100644 --- a/libcontainer/cgroups/fs/cpuset.go +++ b/libcontainer/cgroups/fs/cpuset.go @@ -27,7 +27,8 @@ func getCpusetFile(path string, name string) string { // only allowed cgroup to mount with no prefix is v1 cpuset // https://github.com/torvalds/linux/blob/2e1b3cc9d7f790145a80cb705b168f05dab65df2/kernel/cgroup/cgroup-v1.c#L1070 - // it cannot be mounted with and without prefix at the same time. it happens to be used on Android. + // it cannot be mounted with and without prefix at the same time + // it happens to be used on Android. if !cpusetFastPath { fd, err := cgroups.OpenFile(path, "cpuset."+name, unix.O_RDONLY)