Skip to main content
Intermediatehow it works

What is a page fault, and what happens step by step when one occurs?

ReportedSource: GeeksforGeeks interview experience: Microsoft SDE-I, 1+ year

Quick answerFree

A trap when a process touches a virtual page that is not mapped: kernel validates the address, finds/evicts a frame, loads the page from disk, updates page table/TLB, restarts the instruction. Minor faults need no disk I/O.

Detailed answer· ~180 words

Interview Prep

Unlock the full answer with Interview Prep

Get a ~180-word model answer, plus 9 more Operating Systems questions.

Also in Pro (₹499 / 90 days).

+ 9 more Operating Systems questions in Interview Prep, each with the full answer.

Discussion