kernel-ark/net
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
..
802
8021q [VLAN]: Allow VLAN interface on top of bridge interface 2007-04-13 16:12:47 -07:00
appletalk
atm
ax25
bluetooth
bridge [NET]: convert network timestamps to ktime_t 2007-04-25 22:23:34 -07:00
core [NET]: convert network timestamps to ktime_t 2007-04-25 22:23:34 -07:00
dccp
decnet
econet [NET]: convert network timestamps to ktime_t 2007-04-25 22:23:34 -07:00
ethernet
ieee80211
ipv4 [IPV4]: Optimize inet_getpeer() 2007-04-25 22:23:49 -07:00
ipv6 [IPV6] ADDRCONF: Fix possible inet6_ifaddr leakage with CONFIG_OPTIMISTIC_DAD. 2007-04-25 22:23:44 -07:00
ipx [NET]: convert network timestamps to ktime_t 2007-04-25 22:23:34 -07:00
irda [IrDA]: Correctly handling socket error 2007-04-18 15:07:22 -07:00
iucv
key [IPSEC] af_key: Fix thinko in pfkey_xfrm_policy2msg() 2007-04-18 14:16:07 -07:00
lapb
llc
netfilter [NET]: convert network timestamps to ktime_t 2007-04-25 22:23:34 -07:00
netlabel
netlink [NETLINK]: Mirror UDP MSG_TRUNC semantics. 2007-04-25 22:23:35 -07:00
netrom
packet [NET]: convert network timestamps to ktime_t 2007-04-25 22:23:34 -07:00
rose
rxrpc [NET]: Convert xtime.tv_sec to get_seconds() 2007-04-25 22:23:32 -07:00
sched
sctp [SCTP]: Do not interleave non-fragments when in partial delivery 2007-04-18 14:16:09 -07:00
sunrpc [NET]: convert network timestamps to ktime_t 2007-04-25 22:23:34 -07:00
tipc
unix
wanrouter
x25
xfrm [NET]: Convert xtime.tv_sec to get_seconds() 2007-04-25 22:23:32 -07:00
compat.c [NET]: convert network timestamps to ktime_t 2007-04-25 22:23:34 -07:00
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE