From: Eric Dumazet Date: Fri, 8 Dec 2006 08:08:43 +0000 (-0800) Subject: [NET]: Force a cache line split in hh_cache in SMP. X-Git-Tag: v2.6.20-rc1~34^2~28^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0490980a152958d25ce9762bfb296d8fd4c5512;p=pandora-kernel.git [NET]: Force a cache line split in hh_cache in SMP. hh_lock was converted from rwlock to seqlock by Stephen. To have a 100% benefit of this change, I suggest to place read mostly fields of hh_cache in a separate cache line, because hh_refcnt may be changed quite frequently on some busy machines. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed