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

David S. Miller (davem@redhat.com)
Sat, 07 Dec 2002 15:30:45 -0800 (PST)


From: Andrew Morton <akpm@digeo.com>
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/