kernel-hacking-2024-linux-s.../net
Patrick McHardy 861d048607 [IPV4]: Uninline netfilter okfns
Now that we don't pass double skb pointers to nf_hook_slow anymore, gcc
can generate tail calls for some of the netfilter hook okfn invocations,
so there is no need to inline the functions anymore. This caused huge
code bloat since we ended up with one inlined version and one out-of-line
version since we pass the address to nf_hook_slow.

Before:
   text    data     bss     dec     hex filename
8997385 1016524  524652 10538561         a0ce41 vmlinux

After:
   text    data     bss     dec     hex filename
8994009 1016524  524652 10535185         a0c111 vmlinux
-------------------------------------------------------
  -3376

All cases have been verified to generate tail-calls with and without
netfilter. The okfns in ipmr and xfrm4_input still remain inline because
gcc can't generate tail-calls for them.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-15 12:26:35 -07:00
..
9p
802
8021q
appletalk
atm Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
ax25
bluetooth
bridge [NETFILTER]: Replace sk_buff ** with sk_buff * 2007-10-15 12:26:29 -07:00
core [NET]: Avoid copying TCP packets unnecessarily 2007-10-15 12:26:34 -07:00
dccp
decnet [NETFILTER]: Replace sk_buff ** with sk_buff * 2007-10-15 12:26:29 -07:00
econet
ethernet
ieee80211
ipv4 [IPV4]: Uninline netfilter okfns 2007-10-15 12:26:35 -07:00
ipv6 [IPV6] __inet6_csk_dst_store(): fix check-after-use 2007-10-15 12:26:32 -07:00
ipx
irda
iucv
key
lapb
llc
mac80211
netfilter [NETFILTER]: Replace sk_buff ** with sk_buff * 2007-10-15 12:26:29 -07:00
netlabel
netlink [NETLINK]: Don't leak 'listeners' in netlink_kernel_create() 2007-10-15 12:26:32 -07:00
netrom
packet
rfkill
rose
rxrpc
sched [NETFILTER]: Replace sk_buff ** with sk_buff * 2007-10-15 12:26:29 -07:00
sctp fix breakage in sctp getsockopt 2007-10-14 12:41:51 -07:00
sunrpc Merge git://git.linux-nfs.org/pub/linux/nfs-2.6 2007-10-15 10:47:35 -07:00
tipc
unix sched: affine sync wakeups 2007-10-15 17:00:19 +02:00
wanrouter
wireless Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
x25
xfrm [NET]: make netlink user -> kernel interface synchronious 2007-10-10 21:15:29 -07:00
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE