Contiguous allocation, partitions and fragmentation
See why 13 free units can refuse a 9-unit request, how the two kinds of waste differ, what compaction costs, and how a buddy allocator splits and merges. Memory management foundations · Operating systems.
A memory manager reports 13 free units and still refuses a request for 9. The free units are real, so what stopped the request, and what can the system do about it?
What you will learn
- Decide whether a contiguous request fits from the largest hole
- Separate internal waste from external waste, and explain compaction as a copy
- Follow a buddy allocator splitting and merging blocks
Lesson outline
- One range, so one hole must fit
- Waste inside a block
- Compaction moves the blocks
- Buddy allocation
14 minutes · 5 scenes · 0 predict checks · 11 quiz questions
The full lesson is available with Premium.