Memory management:app
allocate / deallocateless
protection: no access to a process's mem space from outside the given processide
shared mem management: (between 2 & more procs;) shared libs, shared mem segments (via shmget()), etc.ui
Approaches:spa
contiguous mem allocationcode
mono-contiguous mem allocationip
virtual memoryget
With multi-programming, multiple options for managing mem:it
Degree of multiprogramming:io
A logical address references some location within a given process address space: the os must map every logical address(generated by some compiler ? assembler) to a physical address
Contiguous memory allocation:
Fixed Partitioning Scheme:
Dynamic Partition Scheme:
|*********|___(finished)__(fragment)_|*********|
best-fit
fit into the smallest possible partition
worst-fit fit into the largest possible partition