13/34
Part 3 of 7 · MergingWatch
Watch · 8 min
A CS 354 lecture on merging free blocks. Immediate and deferred coalescing from 28:48, and boundary tags from 33:40, the extra size a C allocator stores so it can find the block just before a freed one. This part finds that neighbor with one binary search over the sorted runs.
CS 354 Machine Organization and Programming Lecture 23 Dynamic Memory Allocation Part 2 · Michael Doescher · Jul 2020YouTube