Skip to content

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