This reverts commit ab91e94b59. When no memory can be locked, the mmap fails with -EAGAIN. Fixes #592
ab91e94b59