commit | f0490980a152958d25ce9762bfb296d8fd4c5512 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <dada1@cosmosbay.com> | Fri Dec 08 00:08:43 2006 -0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Fri Dec 08 17:19:29 2006 -0800 |
tree | b5f505b4bfbc770c1e15d7177fec4944e2df9c28 | |
parent | 47bbec0282cce900f16a8dd6397260e076400edb [diff] |
[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 <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>