ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > ZSTU class(2019-2020-1) > student directories > 2017329621029 方一凡 >
Homework-7 Version 0
👤 Author: by 390645143qqcom 2019-11-28 04:13:08
When page fault happens in virtual memory management, what is the steps of OS to handle this situation?

1.We check an internal table (usually kept with the process control block) for this process to determine whether the reference was a valid or invalid memory access.

2.If the reference was invalid ,we terminate the process.If it was calid, but we have not yet brought in that page, we not page it in.

3.We find a free frame (by taking one from the free-frame list, for example).

4.We schedule a disk operation to read the desired page into the newly allocated frame.

5.When the disk read is complete, we modify the internal table kept with the process and the page table to indicate that the page is now in memory.

6.We restart the instruction that was interrupted by the trap. The process can now access the page as though it had always been in memory.

Please login to reply. Login

Reversion History

Loading...
No reversions found.