ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > ZSTU class(2019-2020-1) > student directories > >
homework-7 Version 0
👤 Author: by 610996749qqcom 2019-11-27 12:24:01
If there is a page fault happened,OS will take page replacement to solve it.

Step1: Find the location of the desired page on the disk.

Step2: Find a free frame:

a:If there is a free frame,use it.

b.If there is no free frame,use a page-placement algorithm to select a victim frame.

c.Write the victim frame to the disk;change the page and frame tables accordingly.

Step3: Read the desired page into the newly freed frame;change the page and frame tables.

Step4: Restart the user process.

Please login to reply. Login

Reversion History

Loading...
No reversions found.