Page fault page replacement operating systems OS
Page fault and page replacement in operating systems (OS)
In this tutorial, we will try to answer the following questions;
- What is page fault?
- Page replacement algorithm
What is page fault?
If a process tries to get a page from memory and the page is not in memory, the page fault occurs. A page fault is a condition in which required page for a process is not in memory.
In the figure, PF means page fault, and PH means page hit.
Page replacement algorithm
Most famous page replacement algorithms are mentioned here;