6. Virtual Memory is a storage allocation scheme in which secondary memory can be addressed as
though it were part of main memory. Virtual memory can be implemented using Demand Paging.
Several steps are performed in the demand paging scheme:
Step 1: Operating system (OS) puts the process in the blocking state.
Step 2: CPU is notified and the interrupted process is put in the ready state.
Step 3: The required page is brought into the memory with the page replacement algorithm.
Step 4: CPU generates an interrupt, indicating a page fault.
Step 5: Page table is updated accordingly.
Which of the following is the CORRECT sequence of steps performed by demand paging?
(A) 1, 2, 3, 4, 5
(B) 2, 4, 3, 1, 5
(C) 3, 2, 5, 1, 4
(D) 4, 1, 3, 5, 2
(E) 5, 3, 1, 2, 4
詳解 (共 1 筆)
未解鎖
demand paging為作業系統管理...