netdev
[Top] [All Lists]

Re: [RFC][PATCH] net drivers and cache alignment

To: akpm@xxxxxxxxx
Subject: Re: [RFC][PATCH] net drivers and cache alignment
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Sat, 07 Dec 2002 15:30:45 -0800 (PST)
Cc: jgarzik@xxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <3DF2844C.F9216283@digeo.com>
References: <20021207.144004.45605764.davem@redhat.com> <3DF27EE7.4010508@pobox.com> <3DF2844C.F9216283@digeo.com>
Sender: netdev-bounce@xxxxxxxxxxx
   From: Andrew Morton <akpm@xxxxxxxxx>
   Date: Sat, 07 Dec 2002 15:29:16 -0800

   Jeff Garzik wrote:
   > Attached is cut #2.  Thanks for all the near-instant feedback so far :)
   >   Andrew, does the attached still need padding on SMP?
   
   It needs padding _only_ on SMP.  ____cacheline_aligned_in_smp.
   
non-smp machines lack L2 caches?  That's new to me :-)

More seriously, there are real benefits on non-SMP systems.


<Prev in Thread] Current Thread [Next in Thread>