diff options
author | Chen Ridong <chenridong@huawei.com> | 2024-08-20 03:01:24 +0000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-08-20 08:51:16 -1000 |
commit | e55f45b4bafee0ef488e815aa88368444ec5c79c (patch) | |
tree | 9acfd36fa44f9ae6c38867823f317f260643422f /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
parent | d1a92d2d6c5dbeba9a87bfb57fa0142cdae7b206 (diff) |
cgroup/cpuset: Correct invalid remote parition prs
When enable a remote partition, I found that:
cd /sys/fs/cgroup/
mkdir test
mkdir test/test1
echo +cpuset > cgroup.subtree_control
echo +cpuset > test/cgroup.subtree_control
echo 3 > test/test1/cpuset.cpus
echo root > test/test1/cpuset.cpus.partition
cat test/test1/cpuset.cpus.partition
root invalid (Parent is not a partition root)
The parent of a remote partition could not be a root. This is due to the
emtpy effective_xcpus. It would be better to prompt the message "invalid
cpu list in cpuset.cpus.exclusive".
Signed-off-by: Chen Ridong <chenridong@huawei.com>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions