Virtual Memory Systems

References

Review: Virtual Memory and Physical Memory

Translating with a k-level Page Table

Translation Lookaside Buffer (TLB)

Recall: Set Associative Cache

Cache Organization
Cache Organization

Review of Symbols

Simple Memory System Example

Simple Memory System TLB

Simple Memory System Page Table

Simple Memory System Cache

Address Translation Example

Address Translation Example

Intel Core i7 Memory System

End-to-end Core i7 Address Translation

Core i7 Level 1-3 Page Table Entries

Core i7 Page Table Translation

Trick for Speeding Up L1 Access

Virtual Address Space of a Linux Process

Linux Organizes VM as Collection of “Areas”

Linux Page Fault Handling

Memory Mapping

Review: Memory Management and Protection

Sharing Revisited: Shared Objects

Sharing Revisited: Private Copy-on-Write (COW) Objects

Finding Shareable Pages

Summary