Apex › Systems & OS

How a page fault brings in memory

What happens when the page-table walk hits a “not present” entry. A narrated walk through demand paging: the trap into the kernel, the handler choosing the page’s source (zero-fill, a file, or swap), filling a physical frame, and re-running the faulting instruction so the access just succeeds. Touch virtual pages yourself and watch hits fly while absent pages fault and load.

More in Systems & OS