[NET]: use __read_mostly on kmem_cache_t , DEFINE_SNMP_STAT pointers
[pandora-kernel.git] / net / core / flow.c
index f289570..7e95b39 100644 (file)
@@ -42,7 +42,7 @@ static DEFINE_PER_CPU(struct flow_cache_entry **, flow_tables) = { NULL };
 
 #define flow_table(cpu) (per_cpu(flow_tables, cpu))
 
-static kmem_cache_t *flow_cachep;
+static kmem_cache_t *flow_cachep __read_mostly;
 
 static int flow_lwm, flow_hwm;