Get the latest tech news

Linux Page Faults, MMAP, and userfaultfd for faster VM boots


How Linux demand-pages memory, what mmap does to physical pages, why replacing a mapping breaks direct memory access and shared memory, and how userfaultfd lets you lazily populate memory without destroying the mapping.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of MMAP

MMAP

Photo of faster VM boots

faster VM boots

Photo of Linux Page Faults

Linux Page Faults

Related news:

News photo

How memory maps (mmap) deliver faster file access in Go

News photo

Async hazard: MMAP is blocking IO