[NET]: Add const markers to various variables.
authorArjan van de Ven <arjan@infradead.org>
Wed, 30 Nov 2005 00:21:38 +0000 (16:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Nov 2005 00:21:38 +0000 (16:21 -0800)
commit9b5b5cff9a6655dbb6d2e2be365bb95eec3950eb
tree80517910c731fc48512ba9c31aa823575db405b3
parentfb29644994744a63bc57186cefa79534b5d9b5a9
[NET]: Add const markers to various variables.

the patch below marks various variables const in net/; the goal is to
move them to the .rodata section so that they can't false-share
cachelines with things that get written to, as well as potentially
helping gcc a bit with optimisations.  (these were found using a gcc
patch to warn about such variables)

Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 files changed:
net/ipv4/fib_hash.c
net/ipv4/fib_semantics.c
net/ipv4/icmp.c
net/ipv4/ipvs/ip_vs_conn.c
net/ipv4/ipvs/ip_vs_ctl.c
net/ipv4/ipvs/ip_vs_proto_tcp.c
net/ipv4/netfilter/ip_conntrack_amanda.c
net/ipv4/netfilter/ip_conntrack_ftp.c
net/ipv4/netfilter/ip_conntrack_irc.c
net/ipv4/netfilter/ip_conntrack_proto_icmp.c
net/ipv4/netfilter/ip_conntrack_proto_sctp.c
net/ipv4/netfilter/ip_conntrack_proto_tcp.c
net/ipv4/netfilter/ip_tables.c
net/ipv4/netfilter/ipt_LOG.c
net/ipv4/proc.c
net/ipv4/route.c
net/ipv4/tcp.c
net/ipv6/icmp.c
net/ipv6/netfilter/ip6_tables.c