mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +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 <[email protected]> Signed-off-by: Shuah Khan <[email protected]>