This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] malloc: Prevent arena free_list from turning cyclic [BZ #19048]
- From: Siddhesh Poyarekar <sid at reserved-bit dot com>
- To: Florian Weimer <fweimer at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Sat, 10 Oct 2015 00:00:49 +0530
- Subject: Re: [PATCH] malloc: Prevent arena free_list from turning cyclic [BZ #19048]
- Authentication-results: sourceware.org; auth=none
- References: <5617E843 dot 3060504 at redhat dot com> <5618075F dot 105 at reserved-bit dot com>
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