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

From: Christoph Lameter
Date: Thu Mar 06 2008 - 17:57:18 EST


On Thu, 6 Mar 2008, Nick Piggin wrote:

> There looks like definitely some networking slabs that pass the flag
> and can be non-power-of-2. And don't forget cachelines can be anywhere
> up to 256 bytes in size. So yeah it definitely makes sense to merge
> the patch and then examine the callers if you feel strongly about it.

Just do not like to add fluff that has basically no effect. I just tried
to improve things by not doing anything special if we cannot cacheline
align object. Least surprise (at least for me). It is bad enough that we
just decide to ignore the request for alignment for small caches.




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