Skip to content

unsorted bin loop stopping in malloc overview #6

@k4lizen

Description

@k4lizen

(assuming in the middle of a loop iteration it doesn't find a chunk it can allocate, in which case the loop will end)

If the chunk fits in the tcache, it will just add it to the tcache and continue (and remove it from the tcache at the end of the loop). It will only return if the tcache is full or the chunk is too big for the tcache, as is explained later in the text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions