Enumerate the steps in page fault handling.
What will be an ideal response?
Processor issues a read or write request for a certain address.
The TLB or page table is used to determine the physical frame number but instead indicates the page is not in memory resulting in a page fault.
The page fault initiates a trap which takes over the processor and determines (using the disk map) where the desired page is on the disk.
Then a determination is made as to where to put the page.
If it requires eviction the evicted page is written to disk.
Then a request is issued to the disk to read the requested page.
As various pages are evicted or read in the appropriate page tables are modified accordingly
Once the new page is in place the instruction causing the page fault may be restarted
You might also like to view...
In a UML class diagram, the tilde (~) indicates:
a. public access b. protected access c. private access d. package access
Which of the following statements is false?
a. Object-oriented programming is today's key programming methodology. b. Java has become the language of choice for implementing Internet-based applications and software for devices that communicate over a network. c. Software commands computer hardware to perform tasks. d. In use today are more than a trillion general-purpose computers and trillions more Java-enabled cellphones, smartphones and other handheld devices.
Consider the following design goals. For each of them, indicate the candidate pattern(s) you would consider to satisfy each goal:
What will be an ideal response?
Define stickiness.
What will be an ideal response?