OS_concepts
OS_concepts
OS concepts
EIP (Extended Instruction Pointer) is a register in x86 architectures (32bit). Store the
memory address of the next instruction to be executed in a program
5
6
7
8
9
10
11
12
13
14
Demand Paging
Demand paging is a memory management scheme used in modern
operating systems where pages of a program's memory are loaded
into physical memory only when they are needed, rather than loading
the entire program into memory at once.
This technique is fundamental to virtual memory systems
• Balancing memory use and performance
Example Scenario:
• Imagine a program with 100 pages, but only 10 pages fit in memory:
• Without demand paging: The entire 100 pages would need to load,
potentially leading to memory issues or delays.
• With demand paging: Only the 10 pages actually being accessed are
loaded, allowing efficient execution.
15