From: Eric Dumazet Date: Fri, 26 Aug 2005 19:05:31 +0000 (-0700) Subject: [NET]: use __read_mostly on kmem_cache_t , DEFINE_SNMP_STAT pointers X-Git-Tag: v2.6.14-rc1~1035^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba89966c1984513f4f2cc0a6c182266be44ddd03;p=pandora-kernel.git [NET]: use __read_mostly on kmem_cache_t , DEFINE_SNMP_STAT pointers This patch puts mostly read only data in the right section (read_mostly), to help sharing of these data between CPUS without memory ping pongs. On one of my production machine, tcp_statistics was sitting in a heavily modified cache line, so *every* SNMP update had to force a reload. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed