Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bff12468 authored by Yannick Brosseau's avatar Yannick Brosseau Committed by Shuah Khan
Browse files

selftests/vm: Don't mlockall MCL_CURRENT in on-fault-limit test



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: default avatarYannick Brosseau <scientist@fb.com>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent ee65735d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment