Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys::man adding MADV_POPULATE_READ and MAP_POPULATE_WRITE. #2565

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

devnexen
Copy link
Contributor

More specialised than MmapFlags::MAP_POPULATE, another difference being it does not silently fail.

  • MADV_POPULATE_READ to pre-populate pages ahead of read accesses.
  • MADV_POPULATE_WRITE to pre-populate pages ahead of subsequent writes.

More specialised than `MmapFlags::MAP_POPULATE`, another difference being
it does not silently fail.

- `MADV_POPULATE_READ` to pre-populate pages ahead of read accesses.
- `MADV_POPULATE_WRITE` to pre-populate pages ahead of subsequent
  writes.
Copy link
Member

@SteveLauC SteveLauC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@SteveLauC SteveLauC added this pull request to the merge queue Dec 18, 2024
Merged via the queue into nix-rust:master with commit 4033e06 Dec 18, 2024
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants