Sign in
android-kvm
/
linux
/
241c7ed4d4815cd7d9c52c8f97bf13181e32ca29
/
.
/
tools
/
testing
/
selftests
/
riscv
/
mm
/
run_mmap.sh
blob: ca5ad7c48bad177d6822c64b09ae9ebede3be6d1 [
file
] [
log
] [
blame
]
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
original_stack_limit
=
$
(
ulimit
-
s
)
./
mmap_default
# Force mmap_bottomup to be ran with bottomup memory due to
# the unlimited stack
ulimit
-
s unlimited
./
mmap_bottomup
ulimit
-
s $original_stack_limit