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

Christoph Lameter
2008-03-06T22:57:17Z

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.