SLAB_HWCACHE_ALIGN question

From: Dipankar Sarma (dipankar@in.ibm.com)
Date: Fri Nov 30 2001 - 13:54:11 EST


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/



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:40 EST