Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.9-rc8 23 lines 395 B view raw
1#!/bin/sh 2# SPDX-License-Identifier: GPL-2.0 3 4set -e 5 6size=$1 7populate=$2 8write=$3 9cgroup=$4 10path=$5 11method=$6 12private=$7 13want_sleep=$8 14reserve=$9 15 16echo "Putting task in cgroup '$cgroup'" 17echo $$ > /dev/cgroup/memory/"$cgroup"/cgroup.procs 18 19echo "Method is $method" 20 21set +e 22./write_to_hugetlbfs -p "$path" -s "$size" "$write" "$populate" -m "$method" \ 23 "$private" "$want_sleep" "$reserve"