Lines Matching refs:cpuset

4 # Test for cpuset v2 partition root state (PRS)
25 SUBPARTS_CPUS=$CGROUP2/.__DEBUG__.cpuset.cpus.subpartitions
26 CPULIST=$(cat $CGROUP2/cpuset.cpus.effective)
63 echo +cpuset > cgroup.subtree_control
66 # If cpuset has been set up and used in child cgroups, we may not be able to
71 echo 0-6 > test/cpuset.cpus
72 echo root > test/cpuset.cpus.partition
73 cat test/cpuset.cpus.partition | grep -q invalid
75 echo member > test/cpuset.cpus.partition
76 echo "" > test/cpuset.cpus
77 [[ $RESULT -eq 0 ]] && skip_test "Child cgroups are using cpuset!"
114 echo $EXPECTED_VAL > cpuset.cpus.partition
116 ACTUAL_VAL=$(cat cpuset.cpus.partition)
118 echo "cpuset.cpus.partition: expect $EXPECTED_VAL, found $ACTUAL_VAL"
127 ACTUAL_VAL=$(cat cpuset.cpus.effective)
129 echo "cpuset.cpus.effective: expect '$EXPECTED_VAL', found '$ACTUAL_VAL'"
158 # C<l> = add cpu-list to cpuset.cpus
159 # X<l> = add cpu-list to cpuset.cpus.exclusive
217 # Remote partition and cpuset.cpus.exclusive tests
308 # Incorrect change to cpuset.cpus invalidates partition root
311 # cpuset.cpus is allowed, but those extra CPUs are ignored.
325 # cpuset.cpus can contains cpus not in parent's cpuset.cpus as long
332 # To become a valid partition root, cpuset.cpus must overlap parent's
333 # cpuset.cpus.
344 # A non-exclusive cpuset.cpus change will invalidate partition and its siblings
356 # Changes to cpuset.cpus.exclusive that violate exclusivity rule is rejected
407 PFILE=$CGRP/cpuset.cpus.partition
408 CFILE=$CGRP/cpuset.cpus
409 XFILE=$CGRP/cpuset.cpus.exclusive
505 CPUS=$DIR/cpuset.cpus
506 ECPUS=$DIR/cpuset.cpus.effective
507 XCPUS=$DIR/cpuset.cpus.exclusive
508 XECPUS=$DIR/cpuset.cpus.exclusive.effective
509 PRS=$DIR/cpuset.cpus.partition
510 PCPUS=$DIR/.__DEBUG__.cpuset.cpus.subpartitions
511 ISCPUS=$DIR/cpuset.cpus.isolated
537 FILE=cpuset.cpus.exclusive.effective
539 FILE=cpuset.cpus.effective
566 P*) FILE=$CGRP/cpuset.cpus.partition
596 # /sys/kernel/debug/sched/domains and cpuset.cpus.isolated control file,
601 # not be included in the cpuset.cpus.isolated control file which contains
606 # <isolcpus2> - cpuset.cpus.isolated value = <isolcpus1> if not defined
614 ISCPUS=${CGROUP2}/cpuset.cpus.isolated
710 # Run cpuset state transition test
720 CONTROLLER=cpuset
781 NEWLIST=$(cat cpuset.cpus.effective)
788 NEWLIST=$(cat cpuset.cpus.effective)
807 echo 2-3 > cpuset.cpus
808 TYPE=$(cat cpuset.cpus.partition)
809 [[ $TYPE = member ]] || echo member > cpuset.cpus.partition
833 echo +cpuset > cgroup.subtree_control
838 echo 2-3 > cpuset.cpus
852 echo 2 > cpuset.cpus
856 echo 2-3 > cpuset.cpus
896 echo 1 > cpuset.cpus
898 echo root > cpuset.cpus.partition
901 wait_inotify $PWD/cpuset.cpus.partition $PRS &
922 echo member > cpuset.cpus.partition