[–] hatsunearu 10y ago ↗ At first I was really confused why the linked list is needed, but here's the explanation:You want to traverse the previously-freed blocks in case there was a block that you can fit the newly malloced/calloced/relloced block.
2 comments
[ 3.8 ms ] story [ 24.6 ms ] threadYou want to traverse the previously-freed blocks in case there was a block that you can fit the newly malloced/calloced/relloced block.