run_mmap.sh 247 B

123456789101112
  1. #!/bin/sh
  2. # SPDX-License-Identifier: GPL-2.0
  3. original_stack_limit=$(ulimit -s)
  4. ./mmap_default
  5. # Force mmap_bottomup to be ran with bottomup memory due to
  6. # the unlimited stack
  7. ulimit -s unlimited
  8. ./mmap_bottomup
  9. ulimit -s $original_stack_limit