Files
kernel-tenderloin-3.0/net/ipv4
Eric Dumazet 243bbcaa09 [IPV4]: Optimize inet_getpeer()
1) Some sysctl vars are declared __read_mostly

2) We can avoid updating stack[] when doing an AVL lookup only.

    lookup() macro is extended to receive a second parameter, that may be NULL
in case of a pure lookup (no need to save the AVL path). This removes
unnecessary instructions, because compiler knows if this _stack parameter is
NULL or not.

    text size of net/ipv4/inetpeer.o is 2063 bytes instead of 2107 on x86_64

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-25 22:23:49 -07:00
..
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2006-09-28 18:02:23 -07:00
2007-03-26 14:22:22 -07:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-04-25 22:23:49 -07:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2006-09-22 15:18:04 -07:00
2007-04-25 22:23:47 -07:00
2007-02-12 13:34:03 -08:00
2006-09-28 18:03:07 -07:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-04-25 22:23:48 -07:00
2007-04-25 22:23:33 -07:00
2007-03-16 15:04:03 -07:00
2007-02-10 23:19:39 -08:00
2007-03-07 16:08:04 -08:00
2006-12-02 21:31:51 -08:00