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

Nick Piggin
2008-03-07T04:05:54Z

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.