[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <45791D08.7070804@cosmosbay.com>
Date: Fri, 08 Dec 2006 09:06:32 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: David Miller <davem@...emloft.net>
Cc: shemminger@...l.org, netdev@...r.kernel.org
Subject: [PATCH] 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@...mosbay.com>
View attachment "hh_cache.patch" of type "text/plain" (870 bytes)
Powered by blists - more mailing lists