homework 7 Version 0 |
|
👤 Author: by 1842906413qqcom 2019-11-13 14:40:53 |
Step:1. Check the internal page table of the process to determine whether the reference is a legal or illegal address access;
Step:2. If the reference is illegal, the process is terminated.If the reference is valid but the page has not been called in yet, it should now be called in;
Step:3. Find a free frame;
Step:4. Schedule a disk operation to bring up the required pages into the newly allocated frames;
Step:5. After the disk read operation is completed, modify the internal table and page table of the process to indicate that the page is in memory;
Step:6. Restart the instruction interrupted by the trap, and the process can now access the required pages.