Question
What is a page fault? (b) How is a page fault handled if it is triggered by a process issuing a write for which it
What is a page fault?
(b) How is a page fault handled if it is triggered by a process issuing a write for which it has permission on a machine with ample free memory at the point the page fault occurs? [6 marks]
(c) If the machine does not have sufficient free memory at the point that the page fault occurs, a victim page must be selected for replacement. Describe the ideal algorithm for handling this case, and explain why it cannot be implemented. [2 marks]
(d) Now describe a practical algorithm for selecting a victim page for replacement. In your answer you should discuss its performance, storage and time overheads, indicating any assumptions you make. [6 marks]
(e) What is B´elady’s Anomaly? Can the algorithm described in Part (d) suffer from it? Justify your answer. (Note: You are not required to demonstrate an instance of B´el´ady’s Anomaly occurring.) [4 marks]
Step by Step Solution
3.36 Rating (159 Votes )
There are 3 Steps involved in it
Step: 1
The detailed answer for the above question is provided below a A page fault is an exception that occurs when a program attempts to access a page that ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started