[PATCH] Account for alloca use when collecting interface addresses

Andreas Schwab schwab@suse.de
Mon Mar 24 18:14:00 GMT 2014


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."



More information about the Libc-alpha mailing list