Successful on second try virtual memory as cache

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview:   Page miss causes page fault (an excepKon) Virtual address Physical page number or Valid disk address PTE 0 0 null 1 1 0 1 0 0 PTE 7 1 null Physical memory (DRAM) VP 1 VP 2 VP 7 VP 4 Virtual memory (disk) VP 1 Memory resident page table (DRAM) VP 2 VP 3 VP 4 VP 6 VP 7 Virtual Memory as Cache PP 0 PP 3 University of Washington Handling Page Fault ¢  ¢  Page miss causes page fault (an excepKon) Page fault handler selects a vic)m to be evicted (here VP 4) Virtual address Physical page number or Valid disk address PTE 0 0 null 1 1 0 1 0 0 PTE 7 1 null Physical memory (DRAM) VP 1 VP 2 VP 7 VP 4 Virtual memory (disk) VP 1 Memory resident page table (DRAM) VP 2 VP 3 VP 4 VP 6 VP 7 Virtual Memory as Cache PP 0 PP 3 University of Washington Handling Page Fault ¢  ¢  Page miss causes page fault (an excepKon) Page fault handler selects a vic)m to be evicted (here VP 4) Virtual address Physical page number or Valid disk address PTE 0 0 null 1 1 1 0 0 0 PTE 7 1 null Physical memory (DRAM) VP 1 VP 2 VP 7 VP 3 Virtual memory (disk) VP 1 Memory resident page table (DRAM) VP 2 VP 3 VP 4 VP 6 VP 7 Virtual Memory as Cache PP 0 PP 3 University of Washington Handling Page Fault ¢  ¢  ¢  Page miss causes page fault (an excepKon) Page fault handler selects a vic)m to be evicted (here VP 4) Offending instrucKon is restarted: page hit! Virtual address Physical page number or Valid disk address PTE 0 0 null 1 1 1 0 0 0 PTE 7 1 null Physical memory (DRAM) VP 1 VP 2 VP 7...
View Full Document

Ask a homework question - tutors are online