![]() |
|
|||
0001 #!/bin/sh 0002 # SPDX-License-Identifier: GPL-2.0 0003 0004 set -e 0005 0006 size=$1 0007 populate=$2 0008 write=$3 0009 cgroup=$4 0010 path=$5 0011 method=$6 0012 private=$7 0013 want_sleep=$8 0014 reserve=$9 0015 0016 echo "Putting task in cgroup '$cgroup'" 0017 echo $$ > ${cgroup_path:-/dev/cgroup/memory}/"$cgroup"/cgroup.procs 0018 0019 echo "Method is $method" 0020 0021 set +e 0022 ./write_to_hugetlbfs -p "$path" -s "$size" "$write" "$populate" -m "$method" \ 0023 "$private" "$want_sleep" "$reserve"
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |