Eric Dumazet wrote:
On Tuesday 29 August 2006 18:45, Kok, Auke wrote:
/* TX */
- struct ixgb_desc_ring tx_ring;
+ struct ixgb_desc_ring tx_ring ____cacheline_aligned;
unsigned long timeo_start;
On UP, this would only enlarge the size of structure and might consume more
cache lines...
I guess ____cacheline_aligned_in_smp is preferred here.
(see include/linux/netdevice.h)
Agreed.
Jeff
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html