Files
mckernel/test/issues/1183/aarch64_config
Ken Sato 8efced7bf7 mmap: Check if size exceeds available memory when MAP_HUGETLB
If size exceeds, mmap fails and set -ENOMEM

Change-Id: I4f0d6e18ee3a7c8e32e251b7ed07ee9f76305603
Refs: #1183
2019-08-08 00:31:36 +00:00

7 lines
185 B
Plaintext

MEMALL=10
BOOTPARAM="-c 1-7,9-15 -m ${MEMALL}G@0 -r 1-7:0+9-15:8 -O"
OVERSIZE=`expr ${MEMALL} + 1`
INSIZE=`expr ${MEMALL} / 2`
PGSHIFT_LIST=(0 16 21 25 30)
MULTI_MAP_RESULT=(1 1 1 0 0)