In a 5-stage pipelined processor, upon a page fault, what needs to happen in hardware for instruction re-start?

What will be an ideal response?

If the page fault occurs during instruction fetch the pipeline should be drained, that is the instructions already in execution in the pipeline should be allowed to complete. Then, the page fault is serviced and the instruction restarted.

If the page fault occurs in MEM (i.e. LW or SW) the instructions in IF, ID, EX can be squashed since they will not have made any persistent changes to the register file, etc. Then the page fault may be serviced and the instruction restarted.

Computer Science & Information Technology

You might also like to view...

After installing the operating system on a new server, which of the following best practices should be completed before joining the server to the domain? (Choose two.)

A. Create a configuration and performance baseline B. Give the server a non-standard hostname so it is not recognized C. Install all roles and applications that may be needed D. Ensure all latest security patches are installed E. Detach network cables and ensure power is on redundant PDUs

Computer Science & Information Technology

____ is the rate data arrives at your computer.

A. Broadband B. Downstream speed C. Upstream speed D. Bandwidth

Computer Science & Information Technology