xref: /kernel/linux/linux-6.6/tools/testing/selftests/riscv/mm/run_mmap.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/tools/testing/selftests/riscv/mm/
162306a36Sopenharmony_ci#!/bin/sh
262306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
362306a36Sopenharmony_ci
462306a36Sopenharmony_cioriginal_stack_limit=$(ulimit -s)
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci./mmap_default
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci# Force mmap_bottomup to be ran with bottomup memory due to
962306a36Sopenharmony_ci# the unlimited stack
1062306a36Sopenharmony_ciulimit -s unlimited
1162306a36Sopenharmony_ci./mmap_bottomup
1262306a36Sopenharmony_ciulimit -s $original_stack_limit
13

Indexes created Thu Nov 07 10:32:03 CST 2024