mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
13 lines
247 B
Bash
13 lines
247 B
Bash
![]() |
#!/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
|