-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use mlock to ensure the disk buffers don't get paged out.
If mlock fails (e.g. because the corresponding ulimit is set too low), print a warning and continue. (Note that on some platforms, mlock requires the base address to be page-aligned; the code doesn't currently try to achieve that because it's not required on Linux.)
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters