guyinatuxedo / Shogun

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Confusing wording for a line in large_bins.md

k4lizen opened this issue · comments

When malloc attempts to iterate through the skip list, it will start with the chunk that is pointed to by the "head bin chunk's" fd ptr, and begin iterating through the skip list from that chunk.

You probably meant "malloc" as in the whole algorithm, but to me it initially came off as "when a chunk is allocated [malloc() is called] from a large bin, the large bin is traversed from the front", when its actually traversed from the back, as is later clarified in the file.