Operating Systems: Three Easy Pieces by Remzi H. Arpaci-Dusseau and others

ID: operating-systems-three-easy-pieces-by-remzi-h-arpaci-dusseau-and-others

Publisher: Arpaci-Dusseau Books.
Chapter 17, Free-Space Management, version 1.10: introduction and §17.1, printed pp. 1–3, define external fragmentation and the nonrelocation assumption; §17.2, printed pp. 3–4, explains splitting and coalescing adjacent free blocks. The worked layouts initially omit allocator headers.
Chapter 17, §17.2, “Tracking The Size Of Allocated Regions” and “Embedding A Free List”, printed pp. 5–9: allocation headers, free-region metadata and maintaining linked free records inside free space.

New to topics? Read the docs here!