repo.or.cz
/
drm
/
drm-misc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git]
/
tools
/
testing
/
selftests
/
riscv
/
mm
/
run_mmap.sh
blob
ca5ad7c48bad177d6822c64b09ae9ebede3be6d1
1
#!/bin/sh
2
# SPDX-License-Identifier: GPL-2.0
3
4
original_stack_limit
=
$
(
ulimit -s
)
5
6
.
/
mmap_default
7
8
# Force mmap_bottomup to be ran with bottomup memory due to
9
# the unlimited stack
10
ulimit -s
unlimited
11
.
/
mmap_bottomup
12
ulimit -s
$original_stack_limit