Homework - 7 Version 0 |
|
👤 Author: by 244045932qqcom 2019-11-08 06:41:22 |
When a page fault happens in virtual memory management, what is the steps of OS to handle this situation?
Step 1: Check an internal table for the process to determine whether the reference was a valia or invalid memory access.
Step 2: If invalid, terminate the process. If valid, page it in.
Step 3: Find a free frame.
Step 4: Schedule a disk operation to read the page into the newly allocated frame.
Step 5: When disk read is complete, modify the internal table kept with the process and the page table to indicate that the page is in memory.
Step 6: Restart the instruction.