SLAB_HWCACHE_ALIGN question

Dipankar Sarma (dipankar@in.ibm.com)
Sat, 1 Dec 2001 00:24:11 +0530


Greetings.

Why does SLAB_HWCACHE_ALIGN forces alignment on L1_CACHE_BYTES
and not SMP_CACHE_BYTES ? Does this have anything to do with
fitting cache objects in a single L1 cache line even when it
is uniprocessor and SMP_CACHE_BYTES is no equal to L1_CACHE_BYTES ?

Thanks
Dipankar

-- 
Dipankar Sarma  <dipankar@in.ibm.com> http://lse.sourceforge.net
Linux Technology Center, IBM Software Lab, Bangalore, India.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/