Sign in
gbmc
/
linux
/
refs/heads/linux-6.10.y
/
.
/
tools
/
testing
/
selftests
/
riscv
/
mm
/
run_mmap.sh
blob: ca5ad7c48bad177d6822c64b09ae9ebede3be6d1 [
file
] [
log
] [
blame
] [
edit
]
#!/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