]> err.no Git - linux-2.6/commit
[IPV4] route: use read_mostly
authorStephen Hemminger <shemminger@vyatta.com>
Sun, 23 Mar 2008 00:43:59 +0000 (17:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 23 Mar 2008 00:43:59 +0000 (17:43 -0700)
commit817bc4db7794d6dc6594265ddea88d2b839cf2f8
tree280b5e41521845a8af39095cc561c571b56e28af
parentce259990785595420ace616faece09255bad1163
[IPV4] route: use read_mostly

The route table parameters are set based on system memory and sysctl
values that almost never change. Also the genid only changes every
10 minutes.

RTprint is defined by never used.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c