Best Fit Memory Allocation for UNIX Systems from First Principles in C
Part II, Operating Systems, A
Had to implement malloc(size_t size)
and free(void* ptr)
from first principles using only the sbrk
, mmap
and munmap
memory management system calls. Was able to create an implementation that made use of chunked/multiple free lists.