Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Management
Memory Management
Background
Swapping
Contiguous Allocation
Paging
Segmentation
Background
Memory-Management Unit
(MMU)
Dynamic Loading
Dynamic Linking
Swapping
Roll out, roll in swapping variant used for prioritybased scheduling algorithms; lower-priority process is
swapped out so higher-priority process can be loaded
and executed
Schematic View of
Swapping
Contiguous Allocation
Single-partition allocation
Multiple-partition allocation
OS
OS
OS
OS
process 5
process 5
process 5
process 5
process 9
process 9
process 8
process 2
process 10
process 2
process 2
process 2
Dynamic Storage-Allocation
Problem
How to satisfy a request of size n from a list of free holes
Fragmentation
Paging
Internal fragmentation
Address Translation
Scheme
Address Translation
Architecture
Paging Example
Paging Example
Free Frames
Before allocation
After allocation
Implementation of Page
Table
Memory Protection
Segmentation
Logical View of
Segmentation
1
4
1
2
3
2
3
user space
Segmentation
Architecture
Segmentation
Architecture (Cont.)
Relocation.
dynamic
by segment table
Sharing.
shared segments
Allocation.
external fragmentation
Segmentation
Architecture (Cont.)
read/write/execute privileges
Address Translation
Architecture
Example of
Segmentation
Sharing of Segments
End