homework-7 Version 0 |
|
👤 Author: by 1054089618qqcom 2019-11-13 14:01:20 |
When page fault happens in virtual memory management, what is the steps of OS to handle this situation?
First we check an internal table.If the reference was invalid,we terminate the process.Then we find a free frame .If there is no free frame,use a page-replacement algorithm to select a victim frame, write victim frame to the disk and change the page and frame tables accordingly.Next,schedule a disk operation to read the desired page into the newly allocated frame and change the page and frame tables.Finally,Restart the user process.