Memory Management(2)

Memory Allocation Schemes - Continuous Memory Allocation


Memory Allocation Schemes - Paging


Paging Overview

Paging Overview

Address Translation Scheme

Free frames

Page Table의 구현

Shared Code

Page Table - Hierarchical paging

지금까지 살펴본 page table의 구조는 single-level page table이다. 앞서 살펴본 것처럼 page table이 커지면 메인 메모리의 많은 부분이 page table에 할당되어 오버헤드가 발생한다. 이를 해결하기 위한 page table의 구조로 hierarchical paging, hashed page tables, inverted page tables가 있다. 본 절에서는 이 중 hierarchical paging에 대해서 다룬다.

Page Table - Hashed Page Table

Page Table - Inverted Page Table

Memory Allocation Schemes - Segmentation