Question: 12. Consider a virtual memory system running on a RISCCPU. Page tables are not locked in memory and may be swapped to disk. An lw

 12. Consider a virtual memory system running on a RISCCPU. Page

12. Consider a virtual memory system running on a RISCCPU. Page tables are not locked in memory and may be swapped to disk. An lw (load word) instruction reads one data word from memory; the address is the sum of the value in a register and an immediate constant stored in the instruction itself. Neither machine instructions nor page-table entries nor data words can cross a page boundary. In the worst case, how many page faults could be generated as a result of the fetch, decode, and execution of an lw instruction? (A) 2 (B) 3 (C) 4 (D) 5 (E) 6

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!