android_kernel_xiaomi_sm8350/net
Jens Låås 80b71b80df fib_trie: resize rework
Here is rework and cleanup of the resize function.

Some bugs we had. We were using ->parent when we should use 
node_parent(). Also we used ->parent which is not assigned by
inflate in inflate loop.

Also a fix to set thresholds to power 2 to fit halve 
and double strategy.

max_resize is renamed to max_work which better indicates
it's function.

Reaching max_work is not an error, so warning is removed. 
max_work only limits amount of work done per resize.
(limits CPU-usage, outstanding memory etc).

The clean-up makes it relatively easy to add fixed sized 
root-nodes if we would like to decrease the memory pressure
on routers with large routing tables and dynamic routing.
If we'll need that...

Its been tested with 280k routes.

Work done together with Robert Olsson.

Signed-off-by: Jens Låås <jens.laas@its.uu.se>
Signed-off-by: Robert Olsson <robert.olsson@its.uu.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-08-28 23:57:15 -07:00
..
9p
802
8021q
appletalk
atm
ax25
bluetooth
bridge
can
core pktgen: use proc_create_data() 2009-08-28 23:41:43 -07:00
dcb
dccp
decnet
dsa
econet
ethernet
ieee802154 Drop ARPHRD_IEEE802154_PHY 2009-08-19 23:08:24 +04:00
ipv4 fib_trie: resize rework 2009-08-28 23:57:15 -07:00
ipv6 sit: allow ip fragmentation when using nopmtudisc to fix package loss 2009-08-28 23:53:53 -07:00
ipx
irda
iucv
key
lapb
llc
mac80211 mac80211: Check pending scan request after having processed mgd work 2009-08-28 14:40:46 -04:00
netfilter
netlabel
netlink
netrom
packet
phonet phonet: fix build when PROC_FS is disabled 2009-08-17 17:48:25 -07:00
rds RDS: Add a debug message suggesting to load transport modules 2009-08-23 19:13:14 -07:00
rfkill
rose
rxrpc
sched
sctp
sunrpc
tipc
unix
wanrouter
wimax
wireless nl80211: jump to out_err upon unsupported iftype 2009-08-28 14:40:41 -04:00
x25
xfrm
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE