ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > ZSTU class(2019-2020-1) > student directories > 2016329600010 丁明子晗 >
homework 7 Version 0
👤 Author: by 1057641360qqcom 2019-12-26 05:00:07
What steps should the operating system take to deal with a page fault in virtual memory management?

A page fault refers to a page in the current page table, but a page that has not yet been loaded into main memory is called by the process.

First, the operating system will check if the required page is in the page table, and if so, it will check if the required page is in main memory. If not, start processing page faults.

It searches for this page in the backing storage (hard disk) and then swaps the page into main memory. If there are not enough free frames in main memory, one or more frames will be swapped out. The page table is then updated.

Finally, we restart the instruction.

Please login to reply. Login

Reversion History

Loading...
No reversions found.