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

From: Christoph Lameter
Date: Mon Mar 03 2008 - 16:16:59 EST


On Mon, 3 Mar 2008, Nick Piggin wrote:

> > HWCACHE_ALIGN means that you want the object to be aligned at
> > cacheline boundaries for optimization. Why does crossing cacheline
> > boundaries matter in this case?
>
> No, HWCACHE_ALIGN means that you want the object not to cross cacheline
> boundaries for at least cache_line_size() bytes. You invented new

Interesting new definition....


--
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/