Re: arp called for own IP address and 2.0.30

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 20 Jun 1997 23:28:36 +0100 (BST)


> I am fighting. The great chunk of code is ifdef'd by
> CONFIG_IP_ADVANCED_ROUTE and CONFIG_RTNETLINK.
> The further reduction is possible only by glueing bits of
> IPv4 and IPv6, but it will unavoidably result in growth
> of pure IPv4 code.
>
> Do not forget also that 50K "for most people" is nothing.
> Just look at memory eaten by netscape or applix :-)

size bsd/sys/netinet/*.o

size linux/net/ipv4/*.o

Lets just say we have a case to answer ;)

Some of this is the copy_to_user which is too big and shouldnt always
be inline. We should move to a seperate "inline_copy_to_user" type function
for those cases peformance is critical.

Some of it is also code that we no longer need, that is accumulated cruft
and goes as we start to clean up