单选题:In case a page fault happened, the OS will process page fault in
In case a page fault happened, the OS will process page fault including following steps:@[D](1)
```
(1) Reset page tables, validation bit = 1
(2) Swap page into frame
(3) Get an empty frame
(4) OS looks at page table to decide whether invalid reference or just not in memory
(5) Restart instruction
```
The correct sequence is ____.
A. (1) -> (2) ->(3) ->(4)->(5)
B. (2) -> (4) -> (1) -> (3) ->(5)
C. (3) -> (4) -> (2) ->(1) ->(5)
D. (4) ->(3) -> (2) -> (1) -> (5)
A.(1) -> (2) ->(3) ->(4)->(5)
B.(2) -> (4) -> (1) -> (3) ->(5)
C.(3) -> (4) -> (2) ->(1) ->(5)
D.(4) ->(3) -> (2) -> (1) -> (5)
答案:D
```
(1) Reset page tables, validation bit = 1
(2) Swap page into frame
(3) Get an empty frame
(4) OS looks at page table to decide whether invalid reference or just not in memory
(5) Restart instruction
```
The correct sequence is ____.
A. (1) -> (2) ->(3) ->(4)->(5)
B. (2) -> (4) -> (1) -> (3) ->(5)
C. (3) -> (4) -> (2) ->(1) ->(5)
D. (4) ->(3) -> (2) -> (1) -> (5)
A.(1) -> (2) ->(3) ->(4)->(5)
B.(2) -> (4) -> (1) -> (3) ->(5)
C.(3) -> (4) -> (2) ->(1) ->(5)
D.(4) ->(3) -> (2) -> (1) -> (5)
答案:D