Re: [rfc][patch 1/3] slub: fix small HWCACHE_ALIGN alignment

From: Nick Piggin
Date: Thu Mar 06 2008 - 23:06:07 EST


On Thu, Mar 06, 2008 at 07:58:06PM -0800, Christoph Lameter wrote:
> On Fri, 7 Mar 2008, Nick Piggin wrote:
>
> > Where do I argue that it reduces cacheline contention? All arguments
> > I made apply to a UP system equally.
>
> Huh? I thought you wanted to avoid cacheline alignment on UP to save
> memory?

We're talking about HWCACHE_ALIGN in this thread. SMP_ALIGN is for
reducing cacheline contention and that's where you can avoid it on UP.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/