[PATCH] malloc: Prevent arena free_list from turning cyclic [BZ #19048]

Siddhesh Poyarekar sid@reserved-bit.com
Fri Oct 9 18:31:00 GMT 2015


On Friday 09 October 2015 11:58 PM, Siddhesh Poyarekar wrote:

>> +static void
>> +deattach_arena (mstate replaced_arena)
> 
> Call it detach_arena if you want to keep it a separate function.

To be clear, it seems to me that consolidating to arena_get2 would mean
that detach_arena is called in only one place and hence may not deserve
to be a separate function.

Siddhesh



More information about the Libc-alpha mailing list