What is Demand paging?

Loading a program's pages into physical memory only when first accessed and a page fault occurs, rather than all at once. It speeds startup and saves memory for unused parts.

Field: OS & Hardware

Demand paging in the explanations

Questions that mention Demand paging (4)

  1. Which describes demand paging?
  2. What is the mechanism by which applications ask the OS to perform tasks such as file I/O?
  3. What is it called when a guest OS executes a privileged instruction, control passes to the hypervisor, and the hypervisor reproduces the instruction's effect on its behalf?
  4. In a mechanism that maps a file into memory (such as mmap), what happens when the file's contents are read?

Related terms

Page fault Privileged mode Context switch Hypervisor Copy-on-write System call ASID Device driver Interrupt handler Interrupt vector table

Back to the glossary