Main Memory

References:

  1. Abraham Silberschatz, Greg Gagne, and Peter Baer Galvin, "Operating System Concepts, Eighth Edition ", Chapter 8

8.1 Background

8.1.1 Basic Hardware

8.1.2 Address Binding

8.1.3 Logical Versus Physical Address Space

8.1.4 Dynamic Loading

8.1.5 Dynamic Linking and Shared Libraries

8.2 Swapping

8.3 Contiguous Memory Allocation

8.3.1 Memory Mapping and Protection

8.3.2 Memory Allocation

8.3.3. Fragmentation

8.4 Paging

8.4.1 Basic Method

8.4.2 Hardware Support

8.4.3 Protection

8.4.4 Shared Pages

8.5 Structure of the Page Table

8.5.1 Hierarchical Paging

64-bits Two-tiered leaves 42 bits in outer table

Going to a fourth level still leaves 32 bits in the outer table.

8.5.2 Hashed Page Tables

8.5.3 Inverted Page Tables

8.6 Segmentation

8.6.1 Basic Method

8.6.2 Hardware

8.7 Example: The Intel Pentium

8.7.1 Pentium Segmentation

8.7.2 Pentium Paging

8.7.3 Linux on Pentium Systems

8.8 Summary