Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sys::mman: adding few madvise flags.
- `MADV_PAGEOUT` which reclaim the address range, swapping it out if the page is anonymous or written back to disk if it's backed up by a file. - `MADV_COLD` which deactivate the address range but as a hint. - `MADV_WIPEONFORK` after `fork()`, the address range is wiped out to avoid sharing sensible data between processes. - `MADV_KEEPONFORK` disables `MADV_WIPEONFORK` workflow.
- Loading branch information