android_kernel_xiaomi_sm8350/net/ipv4
Eric Dumazet 39c90ece75 [IPV4]: Convert rt_check_expire() from softirq processing to workqueue.
On loaded/big hosts, rt_check_expire() if of litle use, because it
generally breaks out of its main loop because of a jiffies change.

It can take a long time (read : timer invocations) to actually
scan the whole hash table, freeing unused entries.

Converting it to use a workqueue instead of softirq is a nice
move because we can allow rt_check_expire() to do the scan
it is supposed to do, without hogging the CPU.

This has an impact on the average number of entries in cache,
reducing ram usage. Cache is more responsive to parameter
changes (/proc/sys/net/ipv4/route/gc_timeout and
/proc/sys/net/ipv4/route/gc_interval)

Note: Maybe the default value of gc_interval (60 seconds)
is too high, since this means we actually need 5 (300/60)
invocations to scan the whole table.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-10 16:49:25 -07:00
..
ipvs [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
netfilter [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
af_inet.c [NET]: Make socket creation namespace safe. 2007-10-10 16:49:07 -07:00
ah4.c [IPSEC] AH4: Update IPv4 options handling to conform to RFC 4302. 2007-08-26 18:35:33 -07:00
arp.c [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
cipso_ipv4.c
datagram.c
devinet.c [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
esp4.c
fib_frontend.c [NETLINK]: Introduce nested and byteorder flag to netlink attribute 2007-10-10 16:49:16 -07:00
fib_hash.c [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
fib_lookup.h
fib_rules.c
fib_semantics.c [NETLINK]: Introduce nested and byteorder flag to netlink attribute 2007-10-10 16:49:16 -07:00
fib_trie.c [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
icmp.c [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
igmp.c [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
inet_connection_sock.c
inet_diag.c [NET]: Support multiple network namespaces with netlink 2007-10-10 16:49:09 -07:00
inet_hashtables.c
inet_lro.c [NET]: Generic Large Receive Offload for TCP traffic 2007-10-10 16:47:46 -07:00
inet_timewait_sock.c [NET]: DIV_ROUND_UP cleanup (part two) 2007-10-10 16:48:37 -07:00
inetpeer.c [IPV4]: Fix inetpeer gcc-4.2 warnings 2007-07-20 19:39:17 -07:00
ip_forward.c [IPV4] IPSEC: Omit redirect for tunnelled packet. 2007-10-10 16:48:33 -07:00
ip_fragment.c [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
ip_gre.c [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
ip_input.c [NET]: Make packet reception network namespace safe 2007-10-10 16:49:08 -07:00
ip_options.c [IPV4] ip_options.c: kmalloc + memset conversion to kzalloc 2007-07-31 14:06:45 -07:00
ip_output.c [IPV4]: Clean up duplicate includes in net/ipv4/ 2007-08-13 22:52:02 -07:00
ip_sockglue.c [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
ipcomp.c
ipconfig.c [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
ipip.c [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
ipmr.c [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
Kconfig [NET]: Generic Large Receive Offload for TCP traffic 2007-10-10 16:47:46 -07:00
Makefile [NET]: Generic Large Receive Offload for TCP traffic 2007-10-10 16:47:46 -07:00
netfilter.c
proc.c [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
protocol.c
raw.c [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
route.c [IPV4]: Convert rt_check_expire() from softirq processing to workqueue. 2007-10-10 16:49:25 -07:00
syncookies.c
sysctl_net_ipv4.c
tcp_bic.c [TCP]: Remove num_acked>0 checks from cong.ctrl mods pkts_acked 2007-10-10 16:47:55 -07:00
tcp_cong.c
tcp_cubic.c [TCP]: Remove num_acked>0 checks from cong.ctrl mods pkts_acked 2007-10-10 16:47:55 -07:00
tcp_diag.c
tcp_highspeed.c
tcp_htcp.c [TCP]: H-TCP maxRTT estimation at startup 2007-08-07 18:29:05 -07:00
tcp_hybla.c
tcp_illinois.c [TCP]: congestion control API pass RTT in microseconds 2007-07-31 02:27:57 -07:00
tcp_input.c [TCP] MIB: Add counters for discarded SACK blocks 2007-10-10 16:48:30 -07:00
tcp_ipv4.c [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
tcp_lp.c [TCP]: congestion control API pass RTT in microseconds 2007-07-31 02:27:57 -07:00
tcp_minisocks.c [TCP]: Move sack_ok access to obviously named funcs & cleanup 2007-10-10 16:48:00 -07:00
tcp_output.c [NET] Cleanup: DIV_ROUND_UP 2007-10-10 16:48:30 -07:00
tcp_probe.c [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
tcp_scalable.c
tcp_timer.c [TCP]: Move sack_ok access to obviously named funcs & cleanup 2007-10-10 16:48:00 -07:00
tcp_vegas.c [TCP]: congestion control API pass RTT in microseconds 2007-07-31 02:27:57 -07:00
tcp_vegas.h [TCP]: congestion control API pass RTT in microseconds 2007-07-31 02:27:57 -07:00
tcp_veno.c [TCP]: congestion control API pass RTT in microseconds 2007-07-31 02:27:57 -07:00
tcp_westwood.c [TCP]: congestion control API pass RTT in microseconds 2007-07-31 02:27:57 -07:00
tcp_yeah.c [TCP]: congestion control API pass RTT in microseconds 2007-07-31 02:27:57 -07:00
tcp.c [NET]: DIV_ROUND_UP cleanup (part two) 2007-10-10 16:48:37 -07:00
tunnel4.c
udp_impl.h [UDP]: Randomize port selection. 2007-10-10 16:48:31 -07:00
udp.c [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
udplite.c [UDP]: Randomize port selection. 2007-10-10 16:48:31 -07:00
xfrm4_input.c
xfrm4_mode_beet.c
xfrm4_mode_transport.c
xfrm4_mode_tunnel.c
xfrm4_output.c
xfrm4_policy.c
xfrm4_state.c
xfrm4_tunnel.c