Page Faults (cont)
What happens if there are currently no free page frames
What does getFreeFrame() do?
Possibilities:
- suspend the requesting process until a page is freed
- replace one of the currently loaded/used pages
Suspending requires the process manager to
- maintain a (priority) queue of processes waiting for pages
- dequeue and schedule the first process on queue when page freed
Will discuss process queues further in next section.
|