rps: rps_sock_flow_table is mostly read
authorEric Dumazet <eric.dumazet@gmail.com>
Sat, 17 Apr 2010 07:54:36 +0000 (00:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Apr 2010 07:54:36 +0000 (00:54 -0700)
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c

index d7107ac..7abf959 100644 (file)
@@ -2205,7 +2205,7 @@ DEFINE_PER_CPU(struct netif_rx_stats, netdev_rx_stat) = { 0, };
 #ifdef CONFIG_RPS
 
 /* One global table that all flow-based protocols share. */
-struct rps_sock_flow_table *rps_sock_flow_table;
+struct rps_sock_flow_table *rps_sock_flow_table __read_mostly;
 EXPORT_SYMBOL(rps_sock_flow_table);
 
 /*