What is a page fault? [2 marks] (b) What is a segment fault? What might be a sensible response to a segment fault on a
What is a page fault? [2 marks]
(b) What is a segment fault? What might be a sensible response to a segment fault on a stack segment? [2 marks]
(c) Describe the actions that follow after a page fault occurs. You should include those performed in hardware prior to a handler being started, and those that are taken within the handler. Your answer should include how segment faults might be detected and handled. [8 marks]
(d) What is page thrashing and how might it be avoided? [4 marks] (e) Why is handling a page fault more complex than handling an interrupt or software trap? [4 marks]
Step by Step Solution
3.46 Rating (156 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 a type of exception that occurs when a program tries to access a page i...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