Searched refs:CPUSET (Results 1 – 12 of 12) sorted by relevance
38 echo 0 > "$CPUSET/father/cpuset.cpu_exclusive" || return 139 echo 0 > "$CPUSET/father/child/cpuset.cpu_exclusive" || return 141 test 0 = $(cat "$CPUSET/father/child/cpuset.cpu_exclusive") || return 146 echo 1 > "$CPUSET/father/cpuset.cpu_exclusive" || return 147 echo 0 > "$CPUSET/father/child/cpuset.cpu_exclusive" || return 149 test 0 = $(cat "$CPUSET/father/child/cpuset.cpu_exclusive") || return 154 echo 1 > "$CPUSET/father/cpuset.cpu_exclusive" || return 155 echo 1 > "$CPUSET/father/child/cpuset.cpu_exclusive" || return 157 test 1 = $(cat "$CPUSET/father/child/cpuset.cpu_exclusive") || return 162 echo 0 > "$CPUSET/father/cpuset.cpu_exclusive" || return 1[all …]
45 echo > "$CPUSET/father/cpuset.cpus" || return 146 echo > "$CPUSET/father/child/cpuset.cpus" || return 148 cpuset_log "father cpuset.cpus $(cat "$CPUSET/father/cpuset.cpus")"49 cpuset_log "child cpuset.cpus $(cat "$CPUSET/father/child/cpuset.cpus")"51 test -z "$(cat "$CPUSET/father/cpuset.cpus")" || return 152 test -z "$(cat "$CPUSET/father/child/cpuset.cpus")" || return 157 echo > "$CPUSET/father/cpuset.cpus" || return 158 echo 0 > "$CPUSET/father/child/cpuset.cpus" 2> /dev/null && return 160 cpuset_log "father cpuset.cpus $(cat "$CPUSET/father/cpuset.cpus")"61 cpuset_log "child cpuset.cpus $(cat "$CPUSET/father/child/cpuset.cpus")"[all …]
46 echo 0 > "$CPUSET/cpuset.memory_pressure_enabled" 2> $CPUSET_TMP/stderr56 if [ $(cat "$CPUSET/cpuset.memory_pressure") -ne 0 ]; then65 echo 0 > "$CPUSET/cpuset.memory_pressure_enabled" 2> $CPUSET_TMP/stderr77 if [ $(cat "$CPUSET/cpuset.memory_pressure") -ne 0 ]; then86 echo 1 > "$CPUSET/cpuset.memory_pressure_enabled" 2> $CPUSET_TMP/stderr93 cpuset_set "$CPUSET/sub_cpuset" "0" "0" "0" 2> $CPUSET_TMP/stderr103 if [ $(cat "$CPUSET/cpuset.memory_pressure") -ne 0 ]; then107 if [ $(cat "$CPUSET/sub_cpuset/cpuset.memory_pressure") -ne 0 ]; then117 echo 1 > "$CPUSET/cpuset.memory_pressure_enabled" 2> $CPUSET_TMP/stderr124 cpuset_set "$CPUSET/sub_cpuset" "0" "0" "0" 2> $CPUSET_TMP/stderr[all …]
66 cpuset_set "$CPUSET/0" "$cpu_of_node0" "0" "0" 2> $CPUSET_TMP/stderr74 simple_getresult $! "$CPUSET/0"83 cpuset_set "$CPUSET/0" "$cpu_of_node0" "0" "0" 2> $CPUSET_TMP/stderr91 simple_getresult $! "$CPUSET/0"100 cpuset_set "$CPUSET/0" "$cpu_of_node0" "0" "0" 2> $CPUSET_TMP/stderr108 simple_getresult $! "$CPUSET/0"117 cpuset_set "$CPUSET/0" "$cpu_of_node0" "0" "0" 2> $CPUSET_TMP/stderr125 simple_getresult $! "$CPUSET/0"134 cpuset_set "$CPUSET/0" "$cpu_of_node0" "0" "0" 2> $CPUSET_TMP/stderr142 simple_getresult $! "$CPUSET/0"[all …]
108 base_op_test "$CPUSET/1/cpuset.cpus" "$cpus" "$result"127 base_op_test "$CPUSET/1/cpuset.cpus" "0,1-$((nr_cpus-2)),$((nr_cpus-1))" "0-$((nr_cpus-1))"128 base_op_test "$CPUSET/1/cpuset.cpus" "0,1-$((nr_cpus-2))," "0-$((nr_cpus-2))"132 base_op_test "$CPUSET/1/cpuset.cpus" "0-" "WRITE_ERROR"134 base_op_test "$CPUSET/1/cpuset.cpus" "0-" "0"143 base_op_test "$CPUSET/1/cpuset.mems" "$mems" "$result"162 base_op_test "$CPUSET/1/cpuset.mems" "0,1-$((nr_mems-2)),$((nr_mems-1))" "0-$((nr_mems-1))"163 base_op_test "$CPUSET/1/cpuset.mems" "0,1-$((nr_mems-2))," "0-$((nr_mems-2))"167 base_op_test "$CPUSET/1/cpuset.mems" "0-" "WRITE_ERROR"169 base_op_test "$CPUSET/1/cpuset.mems" "0-" "0"[all …]
38 CPUSET="/dev/cpuset"123 if [ -e "$CPUSET" ]125 tst_resm TWARN "$CPUSET already exist.. overwriting"130 mkdir "$CPUSET"131 mount -t cgroup -o cpuset cpuset "$CPUSET" 2> /dev/null135 " cpuset on $CPUSET..Exiting test"142 grep "$CPUSET" /proc/mounts >/dev/null 2>&1 || {143 rm -rf "$CPUSET" >/dev/null 2>&1147 find "$CPUSET" -type d | sort | sed -n '2,$p' | tac | while read subdir164 umount "$CPUSET"[all …]
108 inherit_test "$CPUSET/1/cpuset.cpus" "$cpus" "$result"122 inherit_test "$CPUSET/1/cpuset.mems" "$mems" "$result"140 inherit_test "$CPUSET/1/cpuset.$filename" "$flags" "$result"157 inherit_test "$CPUSET/1/cpuset.$filename" "$flags" "$result"171 inherit_test "$CPUSET/1/cpuset.sched_load_balance" "$flag" "$result"184 inherit_test "$CPUSET/1/cpuset.sched_relax_domain_level" "$domain_level" "$result"
62 cpuset_set "$CPUSET" "-" "$mems_all" "$load_balance" 2>$CPUSET_TMP/stderr94 local g_path="$CPUSET/1"105 cpuset_set "$CPUSET" "-" "$mems_all" "$r_balance" 2> $CPUSET_TMP/stderr137 local g1_path="$CPUSET/1"141 local g2_path="$CPUSET/2"158 cpuset_set "$CPUSET" "-" "$mems_all" "0" 2> $CPUSET_TMP/stderr
60 local g_path="$CPUSET/1"72 cpuset_set "$CPUSET" "-" "$mems_all" "$r_balance" 2> $CPUSET_TMP/stderr160 local g1_path="$CPUSET/1"164 local g2_path="$CPUSET/2"182 cpuset_set "$CPUSET" "-" "$mems_all" "0" 2> $CPUSET_TMP/stderr
89 root_cpus="`cat $CPUSET/cpuset.cpus`"119 local path="$CPUSET/1"172 tasks=`cat $CPUSET/tasks | grep "\b$tst_pid\b"`
39 TEST_CPUSET="$CPUSET/0"
196 local cpusetpath="$CPUSET/1"