The default MEMLOCK limit is not big enough to accomodate all the current pages of the test program process, so the test fails at this step. By removing the MCL_CURRENT flag, we allow the mlockall call to succeed. The mmap is twice the size of the current limit, so it will still fail as expected. Signed-off-by: Yannick Brosseau <scientist@fb.com> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> |
||
---|---|---|
.. | ||
.gitignore | ||
compaction_test.c | ||
config | ||
hugepage-mmap.c | ||
hugepage-shm.c | ||
Makefile | ||
map_hugetlb.c | ||
mlock2-tests.c | ||
on-fault-limit.c | ||
run_vmtests | ||
thuge-gen.c | ||
transhuge-stress.c | ||
userfaultfd.c |