mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
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> |
History
|
|
|---|---|---|
| .. | ||
| .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 | ||