This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Account for alloca use when collecting interface addresses
- From: Andreas Schwab <schwab at suse dot de>
- To: OndÅej BÃlka <neleai at seznam dot cz>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 24 Mar 2014 19:14:08 +0100
- Subject: Re: [PATCH] Account for alloca use when collecting interface addresses
- Authentication-results: sourceware.org; auth=none
- References: <mvm61n3puag dot fsf at hawking dot suse dot de> <20140324165711 dot GA6719 at domone dot podge>
OndÅej BÃlka <neleai@seznam.cz> writes:
> As far as I recall there was a similar patch that did not get in.
>
> After I reviewed that I noticed that you could drop alloca altogether.
>
> Its only used to construct a single linked list and then copy it to
> malloced array. Faster way would be to malloc array directly, realloc as
> necessary.
Sorry, I missed it when I searched for __check_pf. Could you rebase
your patch? This issue is orthogonal to the alloca issue.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."