
저는 통합 cgroups v2 구성에서 Linux 5.11을 사용하고 있습니다.
다음과 같은cgroups-v2.rst, 루트가 아닌 cgroup의 cpuset 할당을 재설정하려고 합니다(부모의 cpuset을 상속하도록). 문서에 따르면 이는 cpuset.cpus
cgroup에 null 값을 작성하여 달성할 수 있습니다.
Cpuset Interface Files
~~~~~~~~~~~~~~~~~~~~~~
cpuset.cpus
<...>
An empty value indicates that the cgroup is using the same
setting as the nearest cgroup ancestor with a non-empty
"cpuset.cpus" or all the available CPUs if none is found.
그러나 이것은 작동하지 않습니다.
# pwd
/sys/fs/cgroup/machine.slice/[email protected]
# cat cpuset.cpus
0-31
# echo "" > cpuset.cpus
echo: write error: no space left on device
내가 뭘 잘못했나요?