Thanks to visit codestin.com
Credit goes to github.com

Skip to content

sys::man adding MADV_POPULATE_READ and MAP_POPULATE_WRITE.#2565

Merged
SteveLauC merged 1 commit into
nix-rust:masterfrom
devnexen:mman_update_2
Dec 18, 2024
Merged

sys::man adding MADV_POPULATE_READ and MAP_POPULATE_WRITE.#2565
SteveLauC merged 1 commit into
nix-rust:masterfrom
devnexen:mman_update_2

Conversation

@devnexen
Copy link
Copy Markdown
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
Copy Markdown
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
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