ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > zstu-(2021-2022)-1 > student homework directories > >
2019329621249陈雅冰homework11 Version 0
👤 Author: by 1422679707qqcom 2021-12-29 16:51:39
The steps fpr handling a page fault:
(1)The memory address requested is first checked, to make sure it was a valid memory request.(2)lf the reference was invalid, the process is terminated. Otherwise, the page must be paged in.(3)A free frame is located, possibly from a free-frame list.
(4)A disk operation is scheduled to bring in the necessary page from disk. ( This will usully block the process on an l/O wat allowing some otherprocess to use the CPU in the meantime.)
(5)When the l/O operation is complete, the process's page table i updated with the new frame number ,and the invalid bit is changed to indicate thatthis is now a valid page reference.
(6)The instruction that caused the page fault must now be restarted from the begining,( as soon as this process gets another turn on the CPU.)

Please login to reply. Login

Reversion History

Loading...
No reversions found.