-
Notifications
You must be signed in to change notification settings - Fork 317
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use memmap2 instead of mapr (#1624)
`memmap2` is maintained and contains all features from `mapr`, so using the `mapr` fork of `memmap` is no longer needed. Here are the changes in detail: - `map_anon()` in `memmap2` is always `MAP_PRIVATE`, so a call to `private()` is no longer needed. - using `mlock` is similar to the `MAP_LOCKED` setting, hence it is no longer set. In `memmap2` the `mlock()` is just called `lock()`. - `MAP_PRIVATE` is done via `map_copy_read_only()`.
- Loading branch information
Showing
4 changed files
with
7 additions
and
11 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
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
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
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