Commit 4033e06
authored
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.
1 parent 5674377 commit 4033e06
2 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
331 | 338 | | |
332 | 339 | | |
333 | 340 | | |
| |||
0 commit comments