Files
rockchip-kernel/net
Eric Dumazet 3c689b7320 inet: cleanup of local_port_range
I noticed sysctl_local_port_range[] and its associated seqlock
sysctl_local_port_range_lock were on separate cache lines.
Moreover, sysctl_local_port_range[] was close to unrelated
variables, highly modified, leading to cache misses.

Moving these two variables in a structure can help data
locality and moving this structure to read_mostly section
helps sharing of this data among cpus.

Cleanup of extern declarations (moved in include file where
they belong), and use of inet_get_local_port_range()
accessor instead of direct access to ports values.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-10-08 14:18:04 -07:00
..
2008-09-24 16:22:22 -05:00
2008-09-22 19:24:45 -07:00
2008-10-08 11:35:06 +02:00
2008-10-08 14:18:04 -07:00
2008-09-30 03:03:35 -07:00
2008-10-06 18:14:56 -04:00
2008-07-24 10:47:27 -07:00
2008-09-22 20:03:00 -07:00
2008-09-22 20:03:00 -07:00