aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/rcutorture/bin/torture.sh
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2021-07-21 16:28:43 -0700
committerPaul E. McKenney <paulmck@kernel.org>2021-09-16 10:32:35 -0700
commitae3357ac11273fe1aad9c790febf179ef05b930a (patch)
tree9b08ea2ddebcc9fc0cbe97675dc2a921c9f76969 /tools/testing/selftests/rcutorture/bin/torture.sh
parenttools/rcu: Add an extract-stall script (diff)
downloadlinux-dev-ae3357ac11273fe1aad9c790febf179ef05b930a.tar.xz
linux-dev-ae3357ac11273fe1aad9c790febf179ef05b930a.zip
torture: Allot 1G of memory for scftorture runs
By default, torture.sh allots 512M of memory for each guest OS. However, when running scftorture with KASAN, 1G is needed. This commit therefore causes torture.sh to provide the required 1G. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to '')
-rwxr-xr-xtools/testing/selftests/rcutorture/bin/torture.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/torture.sh b/tools/testing/selftests/rcutorture/bin/torture.sh
index 8e882346d2a6..eae88aacca2a 100755
--- a/tools/testing/selftests/rcutorture/bin/torture.sh
+++ b/tools/testing/selftests/rcutorture/bin/torture.sh
@@ -351,7 +351,7 @@ fi
if test "$do_scftorture" = "yes"
then
torture_bootargs="scftorture.nthreads=$HALF_ALLOTED_CPUS torture.disable_onoff_at_boot"
- torture_set "scftorture" tools/testing/selftests/rcutorture/bin/kvm.sh --torture scf --allcpus --duration "$duration_scftorture" --configs "$configs_scftorture" --kconfig "CONFIG_NR_CPUS=$HALF_ALLOTED_CPUS" --trust-make
+ torture_set "scftorture" tools/testing/selftests/rcutorture/bin/kvm.sh --torture scf --allcpus --duration "$duration_scftorture" --configs "$configs_scftorture" --kconfig "CONFIG_NR_CPUS=$HALF_ALLOTED_CPUS" --memory 1G --trust-make
fi
if test "$do_refscale" = yes