Under what circumstances do page faults occur? Describe the actions taken by the operating system when a page fault occurs.
Read moreTable of Contents
Textbook Solutions for Operating System Concepts
Question
Suppose that your replacement policy (in a paged system) is to examineeach page regularly and to discard that page if it has not been used sincethe last examination. What would you gain and what would you loseby using this policy rather than LRU or second-chance replacement?
Solution
The first step in solving 9 problem number 29 trying to solve the problem we have to refer to the textbook question: Suppose that your replacement policy (in a paged system) is to examineeach page regularly and to discard that page if it has not been used sincethe last examination. What would you gain and what would you loseby using this policy rather than LRU or second-chance replacement?
From the textbook chapter Virtual
Memory you will find a few key concepts needed to solve this.
Visible to paid subscribers only
Step 3 of 7)Visible to paid subscribers only
full solution