1 93 15 da 3b 3 36 0 b 0b 0

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: 0 VPN VPN 0x00 ___ VPO N 0x00 TLBI _0 TLBT ____ TLB Hit? __ __ Physical Address N Page Fault? __ PPN: 0x28 ____ CI CT CO 11 10 9 8 7 6 5 4 3 2 1 0 1 0 1 0 0 0 1 0 0 0 0 0 PPN 0 CO___ 0x8 CI___ PPO N CT 0x28 Hit? __ Byte: Mem ____ ____ Virtual Memory Example University of Washington Summary ¢  Programmer’s view of virtual memory §  Each process has its own private linear address space §  Cannot be corrupted by other processes ¢  System view of virtual memory §  Uses memory efficiently by caching virtual memory pages Efficient only because of locality §  Simplifies memory management and sharing §  Simplifies protecKon by providing a convenient interposiKoning point to check permissions §  Virtual Memory Example University of Washington Memory System Summary ¢  L1/L2 Memory Cache §  Purely a speed-­‐up technique §  Behavior invisible to applicaKon programmer and (mostly) OS §  Implemented totally in hardware ¢  Virtual Memory §  Supports many OS-­‐related funcKons Process creaKon, task switching, protecKon §  Somware §  Allocates/shares physical memory among processes §  Maintains high-­‐level tables tracking memory type, source, sharing §  Handles excepKons, fills in hardware-­‐defined mapping tables §  Hardware §  Translates virtual addresses via mapping tables, enforcing permissions §  Accelerates mapping via translaKon cache (TLB) §  Virtual Memory Example...
View Full Document

This document was uploaded on 04/04/2014.

Ask a homework question - tutors are online