Malloc
C implementation of the malloc library using mmap.
À propos
Année2019
ContextÉcole 42 Paris
A complete reimplementation of the standard C dynamic memory allocation library (`malloc`, `free`, `realloc`). It interacts directly with the kernel using `mmap` and `munmap` to manage memory zones. The allocator is thread-safe and optimized for performance, using a strategy of block merging and splitting to minimize fragmentation and system calls.