Berildocs GitHub

Memory cards

A page fault is a trap, not always a disk read

confidence: highupdated: 2026-11-25status: activeospage-faultmemory

Claim#

A minor fault maps an existing page; a major fault reads from disk. Both cost a trap and a TLB change.

Test#

Measure minor and major faults under a workload. Touch a cold mapping.

Proof#

A fault profile and a lower major rate.

Failure modes#

A major fault in a hot loop destroys latency. Prefaulting helps only a known working set.