Lecture 9, part 1: Memory management

Previous lecture Next lecture

Exam

Main memory as a resource and its management

Important questions:

Resources (again)

Multiprogramming (again)

Memory management requirements

Basic policies and strategies

Memory allocation: problem

The available memory is used by

Static memory allocation

Dynamic memory allocation

Memory allocation: bit lists

Memory allocation: linked list

Linked list in free memory

Placement strategies

...based on different sorting policies for the list of gaps:

Placement strategies (2)

Discussion: fragmentation

Use of the different methods

Lecture 9, part 2: Memory management and MMU hardware support

Multiprogramming: swapping

Swapping (2)

Address linking and relocation

Address linking and relocation (2)

Address linking and relocation (3)

Address linking and relocation (4)

Segmentation

Segmentation (2)

Segmentation (3)

Segmentation (4)

Problems...

Compaction

Paging

MMU with page table

MMU with page table (2)

-> Combine paging with segmentation

Segmentation and page addressing

Segmentation and page addressing (2)

-> Multi-level page addressing with paging

Paging

Multi-level page addressing

Translation lookaside buffer (TLB)

Translation lookaside buffer (2)

Inverted page tables

-> Inverted Page Tables

Inverted page tables (2)

Conclusion