From: Eric Dumazet Date: Sat, 17 Apr 2010 07:54:36 +0000 (-0700) Subject: rps: rps_sock_flow_table is mostly read X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8770acf0494ae06de6abd34f951a436f8f15d1de;p=linux-beck.git rps: rps_sock_flow_table is mostly read Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- diff --git a/net/core/dev.c b/net/core/dev.c index d7107ac835fa..7abf9590e3c5 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -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); /*